Change homepage, Disable Welcome Page/Start Page
Hi,
We're trying to create automated tests where we need Firefox to constantly display the same opening home page over and over. However, we can't seem to set the homepage, or disable the welcome/start page from any of the .js or .ini files (even after searching for hours on the web and reading numerous forum posts) .
Firefox Version : 31.0
Any advice is greatly appreciated, and thank you in advanced. - Leo
P.S. We are only allowed to change these settings via files; not through the actual Firefox Web Browser UI
All Replies (1)
Does it work if you set browser.startup.homepage_override.mstone to ignore in addition to set the startup page?
You may have to set other prefs as well.
Note that you can use a mozilla.cfg file in the Firefox program folder to specify values for prefs.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg");
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes
See: