[tbb-commits] [tor-browser/tor-browser-91.2.0esr-11.0-1] fixup! TB4: Tor Browser's Firefox preference overrides.

sysrqb at torproject.org sysrqb at torproject.org
Wed Oct 27 16:16:24 UTC 2021


commit 9b34a8f002374f36543a7cf1dfa2b37e8ade83ef
Author: Richard Pospesel <richard at torproject.org>
Date:   Wed Oct 13 14:22:27 2021 +0200

    fixup! TB4: Tor Browser's Firefox preference overrides.
---
 browser/themes/shared/menupanel.inc.css | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/browser/themes/shared/menupanel.inc.css b/browser/themes/shared/menupanel.inc.css
index 4629e5e86891..ef71035f5fd5 100644
--- a/browser/themes/shared/menupanel.inc.css
+++ b/browser/themes/shared/menupanel.inc.css
@@ -23,3 +23,10 @@
 #appMenu-fullscreen-button2[checked] {
   list-style-image: url(chrome://browser/skin/fullscreen-exit.svg);
 }
+
+/* hide the separate new private window button when all windows are private */
+ at supports -moz-bool-pref("browser.privatebrowsing.autostart") {
+  toolbarbutton#appMenu-new-private-window-button2 {
+    display: none;
+  }
+}
\ No newline at end of file





More information about the tbb-commits mailing list