firefox: update scripts to v146.x

This commit is contained in:
Ark74 2025-12-21 04:30:57 -06:00
parent f503da9364
commit e312c03fa3
4 changed files with 11 additions and 18 deletions

View file

@ -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);

View file

@ -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);

View file

@ -305,9 +305,12 @@ pref("dom.private-attribution.submission.enabled", false);
// Disable Machine Learning
pref("browser.ml.chat.enabled", false);
pref("browser.tabs.groups.smart.enabled", false);
// Hide from UI
pref("browser.ml.chat.hideFromLabs", true);
pref("browser.ml.chat.hideLabsShortcuts", true);
pref("browser.tabs.groups.smart.userEnabled", false);
// Disable tab hover preview
pref("browser.tabs.hoverPreview.enabled", false);

View file

@ -19,7 +19,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=127
VERSION=128
EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
REPOKEY=9BDB3D89CE49EC21