# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/librewolf/startpage-cleanup.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- firefox-151.0/browser/app/profile/firefox.js.orig 2026-05-17 15:41:18.000000000 +0200 +++ firefox-151.0/browser/app/profile/firefox.js 2026-05-18 16:01:51.977828113 +0200 @@ -244,11 +244,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); @@ -1121,6 +1121,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); @@ -1391,6 +1393,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. @@ -1658,18 +1667,18 @@ 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.link.open_newwindow", true); pref("services.sync.prefs.sync.browser.menu.showViewImageInfo", true); 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. @@ -1680,7 +1689,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); @@ -1793,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. @@ -1857,6 +1868,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"); @@ -1878,6 +1890,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", ""); @@ -2078,9 +2095,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); // Whether to gate loading about:welcome on Nimbus experiments having loaded. // Currently limited to Mac where a blocking preonboarding modal is shown with a // splash screen that advances after experiments load. On non-MSIX Windows, @@ -2203,8 +2221,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"}'); @@ -2217,12 +2235,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); @@ -2385,6 +2403,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/. @@ -3398,7 +3417,7 @@ // 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 via the button/hidden tab in the past 30 days pref("browser.firefox-view.button-clicks", "{\"count\":0,\"lastCountTime\":\"\"}"); @@ -3407,7 +3426,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}"); // When true, shows a one-time feature callout for cookie banner blocking. pref("cookiebanners.ui.desktop.showCallout", false);