# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/firefox/startpage-cleanup.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- firefox-149.0.2/browser/app/profile/firefox.js.vanilla 2026-04-12 02:20:41.389715992 +0200 +++ firefox-149.0.2/browser/app/profile/firefox.js 2026-04-12 02:21:45.411270610 +0200 @@ -245,11 +245,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); @@ -1130,6 +1130,8 @@ // this value (in milliseconds). pref("browser.tabs.min_inactive_duration_before_unload", 600000); +pref("browser.tabs.inTitlebar", 0); + // Does middleclick paste of clipboard to new tab button #ifdef UNIX_BUT_NOT_MAC pref("browser.tabs.searchclipboardfor.middleclick", true); @@ -1397,6 +1399,13 @@ // restrictions. This is intended for localizers to be able to see the strings. pref("browser.preferences.aiControls.showUnavailable", false); +pref("browser.ai.control.default", "blocked"); +pref("browser.ai.control.linkPreviewKeyPoints", "blocked"); +pref("browser.ai.control.pdfjsAltText", "blocked"); +pref("browser.ai.control.sidebarChatbot", "blocked"); +pref("browser.ai.control.smartTabGroups", "blocked"); +pref("browser.ai.control.translations", "blocked"); + // Used by settings to track whether the user customized advanced // performance settings. Not used directly elsewhere. // If set to false, we show advanced performance settings. @@ -1704,7 +1713,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); @@ -1712,11 +1721,11 @@ 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); +pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", false); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows", true); pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.highlights", true); // Some linux distributions disable all highlights by default. @@ -1727,7 +1736,9 @@ 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("browser.newtabpage.activity-stream.feeds.section.topstories", false); +pref("browser.newtabpage.activity-stream.feeds.system.topstories", false); +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); @@ -1840,10 +1851,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. @@ -1920,6 +1931,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"); @@ -1941,6 +1953,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", ""); @@ -2135,9 +2152,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); @@ -2240,8 +2258,8 @@ pref("browser.ml.chat.enabled", true); pref("browser.ml.chat.hideLocalhost", true); pref("browser.ml.chat.maxLength", 7000); -pref("browser.ml.chat.menu", true); -pref("browser.ml.chat.page", true); +pref("browser.ml.chat.menu", false); +pref("browser.ml.chat.page", false); pref("browser.ml.chat.page.footerBadge", true); pref("browser.ml.chat.page.menuBadge", true); pref("browser.ml.chat.prompt.prefix", '{"l10nId":"genai-prompt-prefix-selection"}'); @@ -2254,12 +2272,12 @@ pref("browser.ml.chat.shortcuts.custom", true); pref("browser.ml.chat.shortcuts.longPress", 60000); pref("browser.ml.chat.shortcut.onboardingMouseoverCount", 0); -pref("browser.ml.chat.sidebar", true); +pref("browser.ml.chat.sidebar", false); pref("browser.ml.linkPreview.allowedLanguages", "en"); pref("browser.ml.linkPreview.blockListEnabled", true); pref("browser.ml.linkPreview.collapsed", false); -pref("browser.ml.linkPreview.enabled", true); +pref("browser.ml.linkPreview.enabled", false); pref("browser.ml.linkPreview.ignoreMs", 2000); pref("browser.ml.linkPreview.longPress", true); pref("browser.ml.linkPreview.longPressMs", 1000); @@ -2407,6 +2425,7 @@ // Enable Firefox translations powered by the Bergamot translations // engine https://browser.mt/. pref("browser.translations.enable", true); +pref("browser.translations.automaticallyPopup", false); // Enable Firefox Select translations powered by Bergamot translations // engine https://browser.mt/. @@ -3417,9 +3436,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. @@ -3427,7 +3446,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);