Skip to content

Instantly share code, notes, and snippets.

@askeing
Last active January 9, 2017 08:23
Show Gist options
  • Save askeing/ded30ae5e73bc69099ee184954fe24f3 to your computer and use it in GitHub Desktop.
Save askeing/ded30ae5e73bc69099ee184954fe24f3 to your computer and use it in GitHub Desktop.
# Create new Firefox profile
## Mac, Windows
firefox --profile <PROFILE_DIR> -silent
## Ubuntu
firefox -createprofile "<PROFILE_NAME> <PROFILE_DIR>" -silent
# disable Flash
user_pref("plugin.state.flash", 0);
# disable crash session resume
user_pref("browser.sessionstore.restore_on_demand", false);
user_pref("browser.sessionstore.resume_from_crash", false);
# disable checking default browser
user_pref("browser.shell.checkDefaultBrowser", false);
# disable auto update
user_pref("app.update.auto", false);
user_pref("app.update.enabled", false);
user_pref("app.update.silent", false);
# enable e10s, 1 only multiprocess, 2 multiprocess with async scrolling
user_pref("browser.tabs.remote.autostart", false);
user_pref("browser.tabs.remote.autostart.1", false);
user_pref("browser.tabs.remote.autostart.2", true);
user_pref("browser.tabs.remote.force-enable", true);
# disable e10s
user_pref("browser.tabs.remote.autostart", false);
user_pref("browser.tabs.remote.autostart.1", false);
user_pref("browser.tabs.remote.autostart.2", false);
user_pref("browser.tabs.remote.force-enable", false);
# set homepage to blank page
user_pref("browser.startup.homepage", "about:blank");
# set start page to blank page
user_pref("browser.startup.page", 0);
# Skip first run page (ref: https://support.mozilla.org/en-US/questions/972919)
user_pref("browser.startup.homepage_override.mstone", "ignore");
user_pref("toolkit.startup.last_success", 1483948699);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment