snowleopard/patches/0005-disable-new-tab-ads.patch

22 lines
848 B
Diff

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