Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

How can I set the default homepage system-wide in firefox 5?

more options

I used to be able to set the default homepage for all my users in Firefox 3.6 by putting entries like: browser.startup.homepage=http://example.com browser.startup.homepage_reset=http://example.com

into a file browserconfig.properties in the top level firefox directory.

This doesn't seem to work in firefox 5.

How can I set the default homepage system-wide in firefox 5?

I used to be able to set the default homepage for all my users in Firefox 3.6 by putting entries like: browser.startup.homepage=http://example.com browser.startup.homepage_reset=http://example.com into a file browserconfig.properties in the top level firefox directory. This doesn't seem to work in firefox 5. How can I set the default homepage system-wide in firefox 5?

All Replies (4)

more options

I even tried the new CCK Wizard and FireFox 5 resets my default home page.. the browserconfig.properties was very useful in our School Lab environments. Mozilla should fix this problem.

more options

Actually there is a workaround but it's a bit more difficult...seems to work for what I need to do.

See this article below:

http://managingosx.wordpress.com/2010/01/11/firefox-default-settings-revisited/

more options

You can use a mozilla.cfg file to lock prefs or specify default values.

You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg").

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref(); // set pref, but allow changes
lockPref();  // lock pref, disallow changes

See:

more options

Thanks for the replies.

I eventually found out that I can set the default homepage by putting:

pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://www.example.com/");

into a local preferences file eg: defaults/preferences/localprefs.js