summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2016-02-04 16:49:42 +0100
committeranonym <anonym@riseup.net>2016-02-04 16:54:17 +0100
commitc57c81d498e873dd6ea4f0bde9148aeddd2c4972 (patch)
tree7ab4622f2ffc197fe6f639fba5c5f4eee195e537
parent0e79909fdb81d13500ea0d488f19723a1f334cbc (diff)
Refactor another part of userChrome.css for the chroot browsers.
-rw-r--r--config/chroot_local-includes/usr/share/tails/chroot-browsers/common/userChrome.css11
-rw-r--r--config/chroot_local-includes/usr/share/tails/chroot-browsers/i2p-browser/userChrome.css10
-rw-r--r--config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/userChrome.css16
3 files changed, 11 insertions, 26 deletions
diff --git a/config/chroot_local-includes/usr/share/tails/chroot-browsers/common/userChrome.css b/config/chroot_local-includes/usr/share/tails/chroot-browsers/common/userChrome.css
index cf4822c..1700911 100644
--- a/config/chroot_local-includes/usr/share/tails/chroot-browsers/common/userChrome.css
+++ b/config/chroot_local-includes/usr/share/tails/chroot-browsers/common/userChrome.css
@@ -1,5 +1,16 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+/* Hide Firefox Sync options. It will not work with the I2P Browser
+ and will only promote unsupported use cases for the Unsafe Browser. */
+#BrowserPreferences radio[pane="paneSync"],
+#sync-button,
+#sync-menu-button,
+#sync-setup,
+#sync-setup-appmenu,
+#sync-status-button,
+#sync-syncnowitem-appmenu,
+#wrapper-sync-button,
+
/* Hide the Tools -> Apps link to the Firefox Marketplace, and
Tools -> Add-ons link to the Add-ons manager. We do not want to
encourage installing such things as it's not part of the supported
diff --git a/config/chroot_local-includes/usr/share/tails/chroot-browsers/i2p-browser/userChrome.css b/config/chroot_local-includes/usr/share/tails/chroot-browsers/i2p-browser/userChrome.css
index 3dce6d6..d0ee730 100644
--- a/config/chroot_local-includes/usr/share/tails/chroot-browsers/i2p-browser/userChrome.css
+++ b/config/chroot_local-includes/usr/share/tails/chroot-browsers/i2p-browser/userChrome.css
@@ -54,16 +54,6 @@ menuitem[command="Browser:SendLink"],
[command="cmd_print"],
*/
-/* Hide the sync functionality which won't work with I2P */
-#BrowserPreferences radio[pane="paneSync"],
-#sync-button,
-#sync-menu-button,
-#sync-setup,
-#sync-setup-appmenu,
-#sync-status-button,
-#sync-syncnowitem-appmenu,
-#wrapper-sync-button,
-
/* Hide the "Keyboard shortcuts" and "Tour" options from
from the Help menu */
#menu_keyboardShortcuts,
diff --git a/config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/userChrome.css b/config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/userChrome.css
index e0185e7..e4d1062 100644
--- a/config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/userChrome.css
+++ b/config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/userChrome.css
@@ -1,17 +1 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-/* Hide Firefox Sync options. Sync hasn't been audited by the
- Tor Browser developers yet (Tor bug #10368), and it doesn't seem to
- work any way (Tor bug #13279). Weak passwords would be a pretty
- serious issue too. */
-#BrowserPreferences radio[pane="paneSync"],
-#sync-button,
-#sync-menu-button,
-#sync-setup,
-#sync-setup-appmenu,
-#sync-status-button,
-#sync-syncnowitem-appmenu,
-#wrapper-sync-button
-
-/* Do the actual hiding. */
-{display: none !important}