Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Change homepage, Disable Welcome Page/Start Page

  • 1 freagra
  • 1 leis an bhfadhb seo
  • 4 views
  • Freagra is déanaí ó cor-el

more options

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

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)

more options

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: