5 years too late I'm sure, but if anyone is spending hours and hours researching like myself, here is the solution I found using a Mac (not sure about Windows).
You have to create a file in:
/Applications/Firefox.app/Contents/Resources/defaults/pref/
I named this file all.js
. Ideally you want it to begin with a letter close to a, and the contents of this file need to be
pref("general.config.obscure_value", 0);
pref("general.config.filename","mozilla.cfg");
Now that you've made that, you need to make your mozilla.cfg
file which should be located at
/Applications/Firefox.app/Contents/Resources/mozilla.cfg
and the contents of this file should be
// Set desired homepage
pref("browser.startup.homepage", "http://desired.homepage.net/");
// tell firefox to import bookmarks
pref("browser.places.importBookmarksHTML", true);
// location to import from
pref("browser.bookmarks.file", "/Applications/Firefox.app/Contents/Bookmarks.html");
//
pref("browser.bookmarks.restore_default_bookmarks", false);
//true or false, depending if you want it to ask for firefox to be default or not
pref("browser.shell.checkDefaultBrowser", false);
// enables the individual user to add personal bookmarks
lockPref("browser.bookmarks.autoExportHTML", true);
now you can add more preferences you want to regulate by typing about:config
in the url bar of firefox.
lastly you want to make sure you have your bookmarks.html
file located at:
/Applications/Firefox.app/Contents/Bookmarks.html