summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-07-08 12:05:41 +0000
committerintrigeri <intrigeri@boum.org>2019-07-08 12:05:41 +0000
commit63d11a4da6e0d2400c104a17859687fff9396b40 (patch)
tree941ee3da636fcacd24e505f4e41dc1d7f679bea5
parentaecb67be05c815a907e3192b6205a9cf6b99cab3 (diff)
Revert "Revert "Disable the uBlock logger sidebar.""bugfix/16858-ftbfs-ublock-1.19+force-all-tests
This reverts commit 114872f3c239fdbfef5cf07a92fbf5f3cdb62f6b, i.e. it brings back the hack we had before we removed it in #16206. Without this, the uBlock logger sidebar is displayed. I can reproduce this on Debian sid with Firefox ESR but not with Firefox, which is consistent with https://bugs.debian.org/909493#17 that reads "Please note this only works in Firefox >= 62. The "open_at_install" option is not available in Firefox ESR". I don't know why the upstream fix worked for us for a couple uBlock releases and now stopped working, but whatever: once we ship Tor Browser 9.0 based on Firefox 68, we can remove this hack, so let's not bother figuring out why the hack is needed for the next few months.
-rw-r--r--config/chroot_local-includes/etc/tor-browser/profile/chrome/userChrome.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/tor-browser/profile/chrome/userChrome.css b/config/chroot_local-includes/etc/tor-browser/profile/chrome/userChrome.css
index cc2c33f..4de8299 100644
--- a/config/chroot_local-includes/etc/tor-browser/profile/chrome/userChrome.css
+++ b/config/chroot_local-includes/etc/tor-browser/profile/chrome/userChrome.css
@@ -25,3 +25,14 @@
/* Hide HTTPS Everywhere button in the toolbar */
#https-everywhere-button { display: none; }
+
+/* Hide the uBlock sidebar, that's opened on first launch
+ References:
+ - https://github.com/gorhill/uBlock/releases/tag/1.16.6
+ - https://github.com/uBlock-LLC/uBlock/issues/1764 */
+vbox#sidebar-box[sidebarcommand="_UUID~ADDON_-sidebar-action"] {
+ display: none !important;
+}
+vbox#sidebar-box[sidebarcommand="ublock0_raymondhill_net-sidebar-action"] {
+ display: none !important;
+}