# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/firefox/startpage-cleanup.patch # Copyright (C) 2025 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- firefox-147.0/browser/app/profile/firefox.js.orig 2026-01-06 01:36:38.000000000 +0100 +++ firefox-147.0/browser/app/profile/firefox.js 2026-01-12 18:09:52.667418190 +0100 @@ -238,11 +238,11 @@ #endif // UI tour experience. -pref("browser.uitour.enabled", true); +pref("browser.uitour.enabled", false); pref("browser.uitour.loglevel", "Error"); -pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/"); +pref("browser.uitour.url", ""); // How long to show a Hearbeat survey (two hours, in seconds) -pref("browser.uitour.surveyDuration", 7200); +pref("browser.uitour.surveyDuration", 0); #ifdef UNIX_BUT_NOT_MAC pref("general.autoScroll", false); @@ -1669,7 +1669,7 @@ pref("services.sync.prefs.sync.browser.crashReports.unsubmittedCheck.autoSubmit2", true); pref("services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed", true); pref("services.sync.prefs.sync.browser.download.useDownloadDir", true); -pref("services.sync.prefs.sync.browser.firefox-view.feature-tour", true); +pref("services.sync.prefs.sync.browser.firefox-view.feature-tour", false); pref("services.sync.prefs.sync.browser.formfill.enable", true); pref("services.sync.prefs.sync.browser.ipProtection.enabled", true); pref("services.sync.prefs.sync.browser.link.open_newwindow", true); @@ -1677,8 +1677,8 @@ pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSearch", true); -pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", true); -pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", true); +pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", false); +pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", false); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.topsites", true); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.topSitesRows", true); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", true); @@ -1692,7 +1692,7 @@ pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.rows", true); pref("services.sync.prefs.sync.browser.newtabpage.enabled", true); pref("services.sync.prefs.sync.browser.newtabpage.pinned", true); -pref("services.sync.prefs.sync.browser.pdfjs.feature-tour", true); +pref("services.sync.prefs.sync.browser.pdfjs.feature-tour", false); pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", true); pref("services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted", true); pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true); @@ -1804,10 +1804,10 @@ // Whether to use the discrete Top Sites component. pref("browser.topsites.component.enabled", false); -pref("browser.topsites.useRemoteSetting", true); +pref("browser.topsites.useRemoteSetting", false); // Fetch sponsored Top Sites from Mozilla Tiles Service (Contile) -pref("browser.topsites.contile.enabled", true); -pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles"); +pref("browser.topsites.contile.enabled", false); +pref("browser.topsites.contile.endpoint", ""); // The base URL for the Quick Suggest anonymizing proxy. To make a request to // the proxy, include a campaign ID in the path. @@ -1871,6 +1871,7 @@ // enable location search for newtab weather widget pref("browser.newtabpage.activity-stream.weather.locationSearchEnabled", true); +pref("browser.newtabpage.activity-stream.default.sites", ""); // List of regions that get weather by default. pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "US,CA"); @@ -1892,6 +1893,11 @@ pref("browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.fileSize.enabled", false); pref("browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.theme", ""); +pref("browser.newtabpage.activity-stream.showSponsored", false); +pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); +pref("browser.newtabpage.activity-stream.system.showSponsored", false); +pref("browser.newtabpage.activity-stream.showSponsoredCheckboxes", false); + // Current new tab page background images. pref("browser.newtabpage.activity-stream.newtabWallpapers.wallpaper", ""); @@ -2074,7 +2080,7 @@ pref("browser.newtabpage.activity-stream.discoverystream.publisherFavicon.enabled", true); // User pref to show stories on newtab (feeds.system.topstories has to be set to true as well) -pref("browser.newtabpage.activity-stream.feeds.section.topstories", true); +pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // The pref controls if search hand-off is enabled for Activity Stream. pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", true); @@ -2098,9 +2104,10 @@ pref("browser.newtabpage.sponsor-protection.enabled", true); // Separate about welcome -pref("browser.aboutwelcome.enabled", true); +pref("browser.aboutwelcome.enabled", false); // Used to set multistage welcome UX pref("browser.aboutwelcome.screens", ""); +pref("trailhead.firstrun.didSeeAboutWelcome", true); // Disable singleProfile messaging mitigation (Bug 1963213) for multiProfile feature users pref("messaging-system.profile.singleProfileMessaging.disable", true); @@ -2359,6 +2366,7 @@ // Enable Firefox translations powered by the Bergamot translations // engine https://browser.mt/. pref("browser.translations.enable", true); +pref("browser.translations.automaticallyPopup", false); // Enable the new Firefox Translations Settings UI Design pref("browser.translations.newSettingsUI.enable", false); @@ -3352,9 +3360,9 @@ // If the user has seen the Firefox View feature tour this value reflects // the id of the last screen they saw and whether they completed the tour -pref("browser.firefox-view.feature-tour", "{\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}"); +pref("browser.firefox-view.feature-tour", "{\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":true}"); // Number of times the user visited about:firefoxview -pref("browser.firefox-view.view-count", 0); +pref("browser.firefox-view.view-count", 1); // Maximum number of rows to show on the "History" page (0 = unlimited). pref("browser.firefox-view.max-history-rows", 0); // Enables virtual list functionality in Firefox View. @@ -3362,7 +3370,7 @@ // If the user has seen the pdf.js feature tour this value reflects the tour // message id, the id of the last screen they saw, and whether they completed the tour -pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":false}"); +pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":true}"); pref("cookiebanners.ui.desktop.enabled", false);