[tbb-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-128.1.0esr-14.0-1] 2 commits: fixup! Bug 26345: Hide tracking protection UI
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Wed Aug 14 09:22:11 UTC 2024
Pier Angelo Vendrame pushed to branch mullvad-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
9c70dce5 by Henry Wilkes at 2024-08-14T11:21:37+02:00
fixup! Bug 26345: Hide tracking protection UI
Bug 42679: Revert change to hide tracking protection toolbar icon and
preferences.
- - - - -
a201460d by Henry Wilkes at 2024-08-14T11:21:39+02:00
fixup! Bug 26345: Hide tracking protection UI
Bug 42679: Re-hide the tracking protections UI.
We hide the toolbar button with CSS.
We hide the preferences using data-hidden-from-search.
- - - - -
4 changed files:
- browser/base/content/browser-siteIdentity.js
- browser/components/preferences/privacy.inc.xhtml
- browser/themes/shared/identity-block/identity-block.css
- browser/themes/shared/preferences/privacy.css
Changes:
=====================================
browser/base/content/browser-siteIdentity.js
=====================================
@@ -942,10 +942,10 @@ var gIdentityHandler = {
gPermissionPanel.refreshPermissionIcons();
}
- // Bug 26345: Hide tracking protection UI.
+ // Hide the shield icon if it is a chrome page.
gProtectionsHandler._trackingProtectionIconContainer.classList.toggle(
"chromeUI",
- true
+ this._isSecureInternalUI
);
},
=====================================
browser/components/preferences/privacy.inc.xhtml
=====================================
@@ -15,7 +15,7 @@
</hbox>
<!-- Tracking / Content Blocking -->
-<groupbox id="trackingGroup" data-category="panePrivacy" hidden="true" aria-describedby="contentBlockingDescription" class="highlighting-group">
+<groupbox id="trackingGroup" data-category="panePrivacy" data-hidden-from-search="true" hidden="true" aria-describedby="contentBlockingDescription" class="highlighting-group">
<label id="contentBlockingHeader"><html:h2 data-l10n-id="content-blocking-enhanced-tracking-protection"/></label>
<vbox data-subcategory="trackingprotection">
<hbox align="start">
=====================================
browser/themes/shared/identity-block/identity-block.css
=====================================
@@ -230,6 +230,9 @@
/* TRACKING PROTECTION ICON */
#tracking-protection-icon-container {
+ /* Always hide the tracking toolbar button in Base Browser.
+ * tor-browser#26345. */
+ display: none !important;
padding-inline: var(--urlbar-icon-padding);
border-radius: var(--urlbar-icon-border-radius);
/* This is needed in order to position the blue dot indicator. */
=====================================
browser/themes/shared/preferences/privacy.css
=====================================
@@ -63,10 +63,6 @@
/* Content Blocking */
-#trackingGroup {
- display: none;
-}
-
/* Override styling that sets descriptions as grey */
#trackingGroup description.indent,
#trackingGroup .indent > description {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/b2c5034dac0f39e306237d0c940af42a7e5e01a5...a201460df411ac37ea1b89b8eced3789651565c5
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/b2c5034dac0f39e306237d0c940af42a7e5e01a5...a201460df411ac37ea1b89b8eced3789651565c5
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240814/cc8ff0fb/attachment-0001.htm>
More information about the tbb-commits
mailing list