Skip to content
Snippets Groups Projects
Verified Commit 32771fa2 authored by Alex Catarineu's avatar Alex Catarineu Committed by Pier Angelo Vendrame
Browse files

Bug 26345: Hide tracking protection UI

parent 69a13114
No related branches found
No related tags found
No related merge requests found
......@@ -896,10 +896,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",
this._isSecureInternalUI
true
);
},
......
......@@ -139,11 +139,6 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
{"restartrequired", "chrome://browser/content/aboutRestartRequired.xhtml",
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 |
nsIAboutModule::IS_SECURE_CHROME_UI},
};
static nsAutoCString GetAboutModuleName(nsIURI* aURI) {
......
......@@ -21,7 +21,6 @@ pages = [
'policies',
'preferences',
'privatebrowsing',
'protections',
'profiling',
'reader',
'restartrequired',
......
......@@ -46,7 +46,6 @@ DIRS += [
"preferences",
"privatebrowsing",
"prompts",
"protections",
"protocolhandler",
"resistfingerprinting",
"screenshots",
......
......@@ -59,6 +59,10 @@
/* Content Blocking */
#trackingGroup {
display: none;
}
/* Override styling that sets descriptions as grey */
#trackingGroup description.indent,
#trackingGroup .indent > description {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment