Commits:
-
7e2251fa
by Richard Pospesel at 2023-09-19T16:43:14+00:00
Bug 42037: Disable about:firefoxview page
-
0d8c542b
by Richard Pospesel at 2023-09-19T16:43:28+00:00
fixup! Firefox preference overrides.
lock the pref to false which puts the firefoxview button in the tab bar
4 changed files:
Changes:
browser/app/profile/001-base-profile.js
... |
... |
@@ -18,7 +18,7 @@ pref("startup.homepage_welcome_url.additional", ""); |
18
|
18
|
pref("browser.aboutwelcome.enabled", false);
|
19
|
19
|
|
20
|
20
|
// Disable the Firefox View tab (tor-browser#41876)
|
21
|
|
-pref("browser.tabs.firefox-view", false);
|
|
21
|
+pref("browser.tabs.firefox-view", false, locked);
|
22
|
22
|
|
23
|
23
|
// Disable 'Switching to a new device" help menu item (tor-browser#41774)
|
24
|
24
|
pref("browser.device-migration.help-menu.hidden", true);
|
browser/components/about/AboutRedirector.cpp
... |
... |
@@ -70,13 +70,6 @@ static const RedirEntry kRedirMap[] = { |
70
|
70
|
nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
|
71
|
71
|
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
72
|
72
|
nsIAboutModule::IS_SECURE_CHROME_UI},
|
73
|
|
- {"firefoxview", "chrome://browser/content/firefoxview/firefoxview.html",
|
74
|
|
- nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
|
75
|
|
- nsIAboutModule::HIDE_FROM_ABOUTABOUT},
|
76
|
|
- {"firefoxview-next",
|
77
|
|
- "chrome://browser/content/firefoxview/firefoxview-next.html",
|
78
|
|
- nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
|
79
|
|
- nsIAboutModule::HIDE_FROM_ABOUTABOUT},
|
80
|
73
|
{"policies", "chrome://browser/content/policies/aboutPolicies.html",
|
81
|
74
|
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
|
82
|
75
|
{"privatebrowsing", "about:blank",
|
browser/components/about/components.conf
... |
... |
@@ -12,8 +12,6 @@ pages = [ |
12
|
12
|
'home',
|
13
|
13
|
'logins',
|
14
|
14
|
'loginsimportreport',
|
15
|
|
- 'firefoxview',
|
16
|
|
- 'firefoxview-next',
|
17
|
15
|
'messagepreview',
|
18
|
16
|
'newtab',
|
19
|
17
|
'policies',
|
browser/components/moz.build
... |
... |
@@ -36,7 +36,6 @@ DIRS += [ |
36
|
36
|
"downloads",
|
37
|
37
|
"enterprisepolicies",
|
38
|
38
|
"extensions",
|
39
|
|
- "firefoxview",
|
40
|
39
|
"messagepreview",
|
41
|
40
|
"migration",
|
42
|
41
|
"newidentity",
|
|