[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] Bug 26345: Hide tracking protection UI
gk at torproject.org
gk at torproject.org
Mon Sep 16 13:23:49 UTC 2019
commit cbf4dfb66958590b64cf5b2fc63ff0ed9e2d7d0e
Author: Alex Catarineu <acat at torproject.org>
Date: Tue Sep 10 16:29:31 2019 +0200
Bug 26345: Hide tracking protection UI
---
browser/components/controlcenter/content/identityPanel.inc.xul | 3 ++-
browser/themes/shared/identity-block/identity-block.inc.css | 4 ++++
browser/themes/shared/incontentprefs/privacy.css | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/browser/components/controlcenter/content/identityPanel.inc.xul b/browser/components/controlcenter/content/identityPanel.inc.xul
index 73cb3968c7fb..88d5074589e3 100644
--- a/browser/components/controlcenter/content/identityPanel.inc.xul
+++ b/browser/components/controlcenter/content/identityPanel.inc.xul
@@ -73,7 +73,8 @@
<!-- Tracking Protection Section -->
<hbox id="tracking-protection-container"
class="identity-popup-section"
- when-connection="not-secure secure secure-ev secure-cert-user-overridden extension">
+ when-connection="not-secure secure secure-ev secure-cert-user-overridden extension"
+ hidden="true">
<vbox id="identity-popup-content-blocking-content" flex="1">
<hbox align="start">
<label id="content-blocking-label"
diff --git a/browser/themes/shared/identity-block/identity-block.inc.css b/browser/themes/shared/identity-block/identity-block.inc.css
index d8233077be69..e1911fd47305 100644
--- a/browser/themes/shared/identity-block/identity-block.inc.css
+++ b/browser/themes/shared/identity-block/identity-block.inc.css
@@ -173,6 +173,10 @@ toolbar[brighttext] #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #
/* TRACKING PROTECTION ICON */
#tracking-protection-icon-box {
+ display: none;
+}
+
+#tracking-protection-icon-box {
visibility: collapse;
overflow: hidden;
width: 20px;
diff --git a/browser/themes/shared/incontentprefs/privacy.css b/browser/themes/shared/incontentprefs/privacy.css
index 5cb165d7d48d..ce9614bcd677 100644
--- a/browser/themes/shared/incontentprefs/privacy.css
+++ b/browser/themes/shared/incontentprefs/privacy.css
@@ -88,6 +88,10 @@
/* Content Blocking */
+#trackingGroup {
+ display: none;
+}
+
/* Override styling that sets descriptions as grey */
#trackingGroup description.indent,
#trackingGroup .indent > description {
More information about the tbb-commits
mailing list