From c9543519c787c37bdaa2602b3e5938de6b4efca0 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Thu, 5 Jul 2018 15:32:19 +0000 Subject: [PATCH] 0100s: startpage, home+newwindow, newtab FF61 introduced quite a few changes, including removing the ability to set a blank startpage in the UI, and a new Home options tab with unified Activity Stream (AS) defaults and dropdown options. Because the only way to stop AS on startup is to enforce a blank page (pref 0102), and setting this auto changes `home+newwindow` (0103) and `newtab` (0104) to a blank page, then we're just going to go ahead and enforce that on all of them. For more info see the discussion in #426 --- user.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/user.js b/user.js index 813cf17..85ecfdc 100644 --- a/user.js +++ b/user.js @@ -68,11 +68,18 @@ user_pref("_user.js.parrot", "0100 syntax error: the parrot's dead!"); /* 0101: disable default browser check * [SETTING] General>Startup>Always check if Firefox is your default browser ***/ user_pref("browser.shell.checkDefaultBrowser", false); -/* 0102: set start page (0=blank, 1=home, 2=last visited page, 3=resume previous session) +/* 0102: set START page (0=blank, 1=home, 2=last visited page, 3=resume previous session) * [SETTING] General>Startup>When Firefox starts ***/ - // user_pref("browser.startup.page", 0); -/* 0103: set your "home" page (see 0102) ***/ - // user_pref("browser.startup.homepage", "https://www.example.com/"); +user_pref("browser.startup.page", 0); +/* 0103: set HOME+NEWWINDOW page + * about:home=Activity Stream (default, see 0514), custom URL, about:blank + * [SETTING] Home>New Windows and Tabs>Homepage and new windows ***/ +user_pref("browser.startup.homepage", "about:blank"); +/* 0104: set NEWTAB page + * true=Activity Stream (default, see 0514), false=blank page + * [SETTING] Home>New Windows and Tabs>New tabs ***/ +user_pref("browser.newtabpage.enabled", false); +user_pref("browser.newtab.preload", false); /*** 0200: GEOLOCATION ***/ user_pref("_user.js.parrot", "0200 syntax error: the parrot's definitely deceased!"); @@ -192,9 +199,6 @@ user_pref("browser.tabs.crashReporting.sendReport", false); user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // (FF51+) user_pref("browser.crashReports.unsubmittedCheck.autoSubmit", false); // (FF51-57) user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // (FF58+) -/* 0360: disable new tab tile ads & preload & marketing junk ***/ -user_pref("browser.newtab.preload", false); -user_pref("browser.newtabpage.enabled", false); /* 0370: disable "Snippets" (Mozilla content shown on about:home screen) * [1] https://wiki.mozilla.org/Firefox/Projects/Firefox_Start/Snippet_Service ***/ user_pref("browser.aboutHomeSnippets.updateUrl", "data:,");