Skip to content

Instantly share code, notes, and snippets.

@exoad
Created August 1, 2022 20:12
Show Gist options
  • Save exoad/b5962abf4b1e91caf6b35964b1c63efd to your computer and use it in GitHub Desktop.
Save exoad/b5962abf4b1e91caf6b35964b1c63efd to your computer and use it in GitHub Desktop.
Firefox Configuration
// File: autoconfig.cfg
// Location: Default Firefox Locale
// *NIX: /usr/lib/firefox
// Win32: /Program Files/firefox
// BEGIN
//
var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
/* set new tab page */
try {
Cu.import("resource:///modules/AboutNewTab.jsm");
var newTabURL = "file:///home/jackm/Music/firefox/index.html";
AboutNewTab.newTabURL = newTabURL;
} catch(e){Cu.reportError(e);}
//END
// File: autoconfig.js
// Location: Default Prefs
// *NIX: /usr/lib/firefox/defaults/pref
// Win32: ?
//BEGIN
//
pref("general.config.filename", "autoconfig.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", false);
//END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment