Skip to content
GitLab
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
71794a89
Commit
71794a89
authored
Sep 10, 2019
by
Alex Catarineu
Committed by
Matthew Finkel
May 04, 2021
Browse files
Bug 26345: Hide tracking protection UI
parent
130660ce
Changes
6
Hide whitespace changes
Inline
Side-by-side
browser/base/content/browser-siteIdentity.js
View file @
71794a89
...
...
@@ -911,10 +911,10 @@ var gIdentityHandler = {
gPermissionPanel
.
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/base/content/browser.xhtml
View file @
71794a89
...
...
@@ -782,7 +782,7 @@
oncommand=
"gSync.toggleAccountPanel(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');"
>
...
...
@@ -793,7 +793,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/about/AboutRedirector.cpp
View file @
71794a89
...
...
@@ -122,10 +122,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
},
{
"ion"
,
"chrome://browser/content/ion.html"
,
nsIAboutModule
::
ALLOW_SCRIPT
|
nsIAboutModule
::
HIDE_FROM_ABOUTABOUT
},
#ifdef TOR_BROWSER_UPDATE
...
...
browser/components/about/components.conf
View file @
71794a89
...
...
@@ -20,7 +20,6 @@ pages = [
'policies'
,
'preferences'
,
'privatebrowsing'
,
'protections'
,
'profiling'
,
'reader'
,
'restartrequired'
,
...
...
browser/components/moz.build
View file @
71794a89
...
...
@@ -46,7 +46,6 @@ DIRS += [
"preferences"
,
"privatebrowsing"
,
"prompts"
,
"protections"
,
"protocolhandler"
,
"resistfingerprinting"
,
"search"
,
...
...
browser/themes/shared/preferences/privacy.css
View file @
71794a89
...
...
@@ -114,6 +114,10 @@
/* Content Blocking */
#trackingGroup
{
display
:
none
;
}
/* Override styling that sets descriptions as grey */
#trackingGroup
description
.indent
,
#trackingGroup
.indent
>
description
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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