firefox: update scripts to v146.x
This commit is contained in:
parent
f503da9364
commit
e312c03fa3
4 changed files with 11 additions and 18 deletions
|
|
@ -7,14 +7,12 @@ diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
|
|||
index c5f7cf3a..f0124235 100644
|
||||
--- a/browser/app/profile/firefox.js
|
||||
+++ b/browser/app/profile/firefox.js
|
||||
@@ -1251,11 +1251,11 @@ pref("accessibility.typeaheadfind.linksonly", false);
|
||||
@@ -1368,9 +1368,9 @@ pref("accessibility.typeaheadfind.linksonly", false);
|
||||
pref("accessibility.typeaheadfind.flashBar", 1);
|
||||
|
||||
// Whether we can show the "Firefox Labs" section.
|
||||
-pref("browser.preferences.experimental", true);
|
||||
+pref("browser.preferences.experimental", false);
|
||||
// Whether we had to hide the "Firefox Labs" section because it would be empty.
|
||||
pref("browser.preferences.experimental.hidden", false);
|
||||
-pref("browser.preferences.experimental.hidden", false);
|
||||
+pref("browser.preferences.experimental.hidden", true);
|
||||
// Whether we show the "More from Mozilla" section.
|
||||
-pref("browser.preferences.moreFromMozilla", true);
|
||||
+pref("browser.preferences.moreFromMozilla", false);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ diff --git a/browser/extensions/newtab/lib/AboutPreferences.sys.mjs b/browser/ex
|
|||
index 0d43919b..f2e0fbd0 100644
|
||||
--- a/browser/extensions/newtab/lib/AboutPreferences.sys.mjs
|
||||
+++ b/browser/extensions/newtab/lib/AboutPreferences.sys.mjs
|
||||
@@ -120,37 +120,6 @@ const PREFS_FOR_SETTINGS = () => [
|
||||
@@ -88,33 +88,6 @@ const PREFS_FOR_SETTINGS = () => [
|
||||
),
|
||||
eventSource: "TOP_STORIES",
|
||||
},
|
||||
|
|
@ -52,15 +52,11 @@ index 0d43919b..f2e0fbd0 100644
|
|||
- },
|
||||
- ],
|
||||
- },
|
||||
- shouldHidePref: !Services.prefs.getBoolPref(
|
||||
- "browser.newtabpage.activity-stream.system.showSponsoredCheckboxes",
|
||||
- false
|
||||
- ),
|
||||
- },
|
||||
];
|
||||
|
||||
export class AboutPreferences {
|
||||
@@ -351,41 +320,8 @@ export class AboutPreferences {
|
||||
@@ -344,41 +317,9 @@ export class AboutPreferences {
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -89,7 +85,7 @@ index 0d43919b..f2e0fbd0 100644
|
|||
- setupSupportFirefoxSubCheck("feeds.section.topstories", "showSponsored");
|
||||
- setupSupportFirefoxSubCheck("feeds.topsites", "showSponsoredTopSites");
|
||||
- }
|
||||
-
|
||||
|
||||
pref.on("change", () => {
|
||||
subChecks.forEach(subcheck => {
|
||||
- // Update child preferences for the "Support Firefox" checkbox group
|
||||
|
|
@ -123,7 +119,7 @@ diff --git a/browser/themes/shared/preferences/preferences.css b/browser/themes/
|
|||
index 3b0f222f..60e0dc1d 100644
|
||||
--- a/browser/themes/shared/preferences/preferences.css
|
||||
+++ b/browser/themes/shared/preferences/preferences.css
|
||||
@@ -1470,15 +1470,6 @@ richlistitem .text-link:hover {
|
||||
@@ -1475,11 +1475,3 @@ richlistitem .text-link:hover {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
|
@ -135,7 +131,3 @@ index 3b0f222f..60e0dc1d 100644
|
|||
- font-size: var(--font-size-small);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
/* START SRD temp page header styles (bug 1948415) */
|
||||
.page-header {
|
||||
gap: var(--space-small);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue