[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.1.0esr-14.0-1] 2 commits: fixup! Bug 26345: Hide tracking protection UI



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 44c4d4d5
    by Henry Wilkes at 2024-08-14T09:58:35+01:00
    fixup! Bug 26345: Hide tracking protection UI
    
    Bug 42679: Revert change to hide tracking protection toolbar icon and
    preferences.
    
  • 6a46ddb4
    by Henry Wilkes at 2024-08-14T10:03:29+01: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:

Changes:

  • browser/base/content/browser-siteIdentity.js
    ... ... @@ -981,10 +981,10 @@ var gIdentityHandler = {
    981 981
           gPermissionPanel.refreshPermissionIcons();
    
    982 982
         }
    
    983 983
     
    
    984
    -    // Bug 26345: Hide tracking protection UI.
    
    984
    +    // Hide the shield icon if it is a chrome page.
    
    985 985
         gProtectionsHandler._trackingProtectionIconContainer.classList.toggle(
    
    986 986
           "chromeUI",
    
    987
    -      true
    
    987
    +      this._isSecureInternalUI
    
    988 988
         );
    
    989 989
       },
    
    990 990
     
    

  • browser/components/preferences/privacy.inc.xhtml
    ... ... @@ -15,7 +15,7 @@
    15 15
     </hbox>
    
    16 16
     
    
    17 17
     <!-- Tracking / Content Blocking -->
    
    18
    -<groupbox id="trackingGroup" data-category="panePrivacy" hidden="true" aria-describedby="contentBlockingDescription" class="highlighting-group">
    
    18
    +<groupbox id="trackingGroup" data-category="panePrivacy" data-hidden-from-search="true" hidden="true" aria-describedby="contentBlockingDescription" class="highlighting-group">
    
    19 19
       <label id="contentBlockingHeader"><html:h2 data-l10n-id="content-blocking-enhanced-tracking-protection"/></label>
    
    20 20
       <vbox data-subcategory="trackingprotection">
    
    21 21
         <hbox align="start">
    

  • browser/themes/shared/identity-block/identity-block.css
    ... ... @@ -253,6 +253,9 @@
    253 253
     /* TRACKING PROTECTION ICON */
    
    254 254
     
    
    255 255
     #tracking-protection-icon-container {
    
    256
    +  /* Always hide the tracking toolbar button in Base Browser.
    
    257
    +   * tor-browser#26345. */
    
    258
    +  display: none !important;
    
    256 259
       padding-inline: var(--urlbar-icon-padding);
    
    257 260
       border-radius: var(--urlbar-icon-border-radius);
    
    258 261
       /* This is needed in order to position the blue dot indicator. */
    

  • browser/themes/shared/preferences/privacy.css
    ... ... @@ -63,10 +63,6 @@
    63 63
     
    
    64 64
     /* Content Blocking */
    
    65 65
     
    
    66
    -#trackingGroup {
    
    67
    -  display: none;
    
    68
    -}
    
    69
    -
    
    70 66
     /* Override styling that sets descriptions as grey */
    
    71 67
     #trackingGroup description.indent,
    
    72 68
     #trackingGroup .indent > description {
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits