# [SECTION 0100]: STARTUP { /* 0101: disable default browser check * [SETTING] General>Startup>Always check if Firefox is your default browser ***/ "browser.shell.checkDefaultBrowser" = false; /* 0102: set startup page [SETUP-CHROME] * 0=blank, 1=home, 2=last visited page, 3=resume previous session * [NOTE] Session Restore is not used in PB mode (0110) and is cleared with history (2803, 2804) * [SETTING] General>Startup>Restore previous session ***/ "browser.startup.page" = 0; /* 0103: set HOME+NEWWINDOW page * about:home=Activity Stream (default, see 0105), custom URL, about:blank * [SETTING] Home>New Windows and Tabs>Homepage and new windows ***/ "browser.startup.homepage" = "about:blank"; /* 0104: set NEWTAB page * true=Activity Stream (default, see 0105), false=blank page * [SETTING] Home>New Windows and Tabs>New tabs ***/ "browser.newtabpage.enabled" = false; "browser.newtab.preload" = false; /* 0105: disable Activity Stream stuff (AS) * AS is the default homepage/newtab in FF57+, based on metadata and browsing behavior. * **NOT LISTING ALL OF THESE: USE THE PREFERENCES UI** * [SETTING] Home>Firefox Home Content>... to show/hide what you want ***/ /* 0105a: disable Activity Stream telemetry ***/ "browser.newtabpage.activity-stream.feeds.telemetry" = false; "browser.newtabpage.activity-stream.telemetry" = false; /* 0105b: disable Activity Stream Snippets * Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server * [1] https://abouthome-snippets-service.readthedocs.io/ ***/ "browser.newtabpage.activity-stream.feeds.snippets" = false; # [DEFAULT: false FF89+] /* 0105c: disable Activity Stream Top Stories, Pocket-based and/or sponsored content ***/ "browser.newtabpage.activity-stream.feeds.section.topstories" = false; "browser.newtabpage.activity-stream.section.highlights.includePocket" = false; "browser.newtabpage.activity-stream.showSponsored" = false; "browser.newtabpage.activity-stream.feeds.discoverystreamfeed" = false; # [FF66+] "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; # [FF83+] /* 0105e: clear default topsites * [NOTE] This does not block you from adding your own ***/ "browser.newtabpage.activity-stream.default.sites" = ""; /* 0110: start Firefox in PB (Private Browsing) mode * [NOTE] In this mode *all* windows are "private windows" and the PB mode icon is not displayed * [WARNING] The P in PB mode is misleading: it means no "persistent" disk storage such as history, * caches, searches, cookies, localStorage, IndexedDB etc (which you can achieve in normal mode). * In fact, PB mode limits or removes the ability to control some of these, and you need to quit * Firefox to clear them. PB is best used as a one off window (File>New Private Window) to provide * a temporary self-contained new session. Close all Private Windows to clear the PB mode session. * [SETTING] Privacy & Security>History>Custom Settings>Always use private browsing mode * [1] https://wiki.mozilla.org/Private_Browsing * [2] https://spreadprivacy.com/is-private-browsing-really-private/ ***/ "browser.privatebrowsing.autostart" = true; }