Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
Tor Browser
Commits
f98405d1
Commit
f98405d1
authored
Sep 10, 2019
by
Alex Catarineu
Committed by
Matthew Finkel
Mar 17, 2021
Browse files
Bug 26345: Hide tracking protection UI
parent
fb76d3c2
Changes
6
Hide whitespace changes
Inline
Side-by-side
browser/base/content/browser-siteIdentity.js
View file @
f98405d1
...
...
@@ -847,10 +847,10 @@ var gIdentityHandler = {
this
.
_refreshPermissionIcons
();
//
Hide the shield icon if it is a chrome page
.
//
Bug 26345: Hide tracking protection UI
.
gProtectionsHandler
.
_trackingProtectionIconContainer
.
classList
.
toggle
(
"
chromeUI
"
,
t
his
.
_isSecureInternalUI
t
rue
);
},
...
...
browser/components/about/AboutRedirector.cpp
View file @
f98405d1
...
...
@@ -114,10 +114,6 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule
::
URI_MUST_LOAD_IN_CHILD
|
nsIAboutModule
::
URI_SAFE_FOR_UNTRUSTED_CONTENT
|
nsIAboutModule
::
ALLOW_SCRIPT
|
nsIAboutModule
::
HIDE_FROM_ABOUTABOUT
},
{
"protections"
,
"chrome://browser/content/protections.html"
,
nsIAboutModule
::
URI_SAFE_FOR_UNTRUSTED_CONTENT
|
nsIAboutModule
::
URI_MUST_LOAD_IN_CHILD
|
nsIAboutModule
::
ALLOW_SCRIPT
|
nsIAboutModule
::
URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS
},
{
"pioneer"
,
"chrome://browser/content/pioneer.html"
,
nsIAboutModule
::
ALLOW_SCRIPT
|
nsIAboutModule
::
HIDE_FROM_ABOUTABOUT
},
#ifdef TOR_BROWSER_UPDATE
...
...
browser/components/about/components.conf
View file @
f98405d1
...
...
@@ -20,7 +20,6 @@ pages = [
'policies'
,
'preferences'
,
'privatebrowsing'
,
'protections'
,
'profiling'
,
'reader'
,
'restartrequired'
,
...
...
browser/components/customizableui/content/panelUI.inc.xhtml
View file @
f98405d1
...
...
@@ -244,7 +244,7 @@
oncommand=
"gSync.toggleAccountPanel('PanelUI-fxa', this, event)"
/>
</toolbaritem>
<toolbarseparator
class=
"sync-ui-item"
/>
<toolbaritem>
<toolbaritem
hidden=
"true"
>
<toolbarbutton
id=
"appMenu-protection-report-button"
class=
"subviewbutton subviewbutton-iconic"
oncommand=
"gProtectionsHandler.openProtections(); gProtectionsHandler.recordClick('open_full_report', null, 'app_menu');"
>
...
...
@@ -255,7 +255,7 @@
</label>
</toolbarbutton>
</toolbaritem>
<toolbarseparator
id=
"appMenu-tp-separator"
/>
<toolbarseparator
hidden=
"true"
id=
"appMenu-tp-separator"
/>
<toolbarbutton
id=
"appMenu-new-window-button"
class=
"subviewbutton subviewbutton-iconic"
label=
"&newNavigatorCmd.label;"
...
...
browser/components/moz.build
View file @
f98405d1
...
...
@@ -48,7 +48,6 @@ DIRS += [
'preferences'
,
'privatebrowsing'
,
'prompts'
,
'protections'
,
'protocolhandler'
,
'resistfingerprinting'
,
'search'
,
...
...
browser/themes/shared/preferences/privacy.css
View file @
f98405d1
...
...
@@ -99,6 +99,10 @@
/* Content Blocking */
#trackingGroup
{
display
:
none
;
}
/* Override styling that sets descriptions as grey */
#trackingGroup
description
.indent
,
#trackingGroup
.indent
>
description
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment