Skip to content

Instantly share code, notes, and snippets.

@rivy
Created January 1, 2018 17:11
Show Gist options
  • Save rivy/bf845dbaffb785329cec5af175e4d016 to your computer and use it in GitHub Desktop.
Save rivy/bf845dbaffb785329cec5af175e4d016 to your computer and use it in GitHub Desktop.
user.js for local development
/* copy the pref group below into a user.js file created in profile dir. e.g.
* Mac: /Users/<user>/Library/Application\ Support/Firefox/Profiles/<obfuscate_chars>.default/user.js
* Win: C:/Users/Username/Appdata/Roaming/Mozilla/Firefox/Profiles/<obfuscate_chars>.default/user.js
* Lnx: ~/.mozilla/firefox/<obfuscate_chars>.default/user.js
* Restart Firefox
*/
// local
user_pref("general.warnOnAboutConfig", false);
user_pref("services.sync.log.appender.file.logOnSuccess", true);
user_pref("identity.fxaccounts.allowHttp", true);
user_pref("identity.fxaccounts.auth.uri", "http://127.0.0.1:9000/v1");
user_pref("identity.fxaccounts.remote.force_auth.uri", "http://127.0.0.1:3030/force_auth?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.remote.signin.uri", "http://127.0.0.1:3030/signin?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.remote.signup.uri", "http://127.0.0.1:3030/signup?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.remote.webchannel.uri", "http://127.0.0.1:3030/");
user_pref("identity.fxaccounts.settings.uri", "http://127.0.0.1:3030/settings");
user_pref("services.sync.tokenServerURI", "http://localhost:5000/token/1.0/sync/1.5");
user_pref("services.sync.debug.ignoreCachedAuthCredentials", true);
user_pref("app.update.auto", false);
user_pref("app.update.enabled", false);
user_pref("app.update.silent", false);
user_pref("app.update.staging.enabled", false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment