diff --git a/patches/0004-remove-snippets-from-home.patch b/patches/0004-remove-snippets-from-home.patch new file mode 100644 index 0000000..f6da8ff --- /dev/null +++ b/patches/0004-remove-snippets-from-home.patch @@ -0,0 +1,22 @@ +--- a/browser/components/newtab/lib/AboutPreferences.jsm ++++ b/browser/components/newtab/lib/AboutPreferences.jsm +@@ -56,18 +56,7 @@ const PREFS_BEFORE_SECTIONS = () => [ + }, + ]; + +-const PREFS_AFTER_SECTIONS = () => [ +- { +- id: "snippets", +- pref: { +- feed: "feeds.snippets", +- titleString: "home-prefs-snippets-header", +- descString: "home-prefs-snippets-description-new", +- }, +- icon: "chrome://global/skin/icons/info.svg", +- eventSource: "SNIPPETS", +- }, +-]; ++const PREFS_AFTER_SECTIONS = () => []; + + class AboutPreferences { + init() { diff --git a/patches/0005-disable-new-tab-ads.patch b/patches/0005-disable-new-tab-ads.patch new file mode 100644 index 0000000..9ce5f62 --- /dev/null +++ b/patches/0005-disable-new-tab-ads.patch @@ -0,0 +1,21 @@ +diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js +index 9a64802ccf203..25bd8e706ba65 100644 +--- a/browser/app/profile/firefox.js ++++ b/browser/app/profile/firefox.js +@@ -2880,3 +2880,16 @@ pref("browser.privatebrowsing.resetPBM.showConfirmationDialog", true); + #ifdef XP_MACOSX + pref("browser.attribution.macos.enabled", false); + #endif ++ ++ ++// -- SL customizations -- // ++ ++// Disable ads ++pref("browser.newtabpage.activity-stream.feeds.system.topstories", false); ++pref("browser.newtabpage.activity-stream.system.showSponsored", false); ++pref("browser.newtabpage.activity-stream.showSponsored", false); ++pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); ++ ++// Set home + new tab pages to about:blank ++pref("browser.newtabpage.enabled", false); ++pref("browser.startup.homepage", "about:blank");