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!

ابحث في الدعم

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 a specified homepage for all users? Thank you!

  • 5 ردود
  • 1 has this problem
  • 9 views
  • آخر ردّ كتبه cor-el

more options

I need to set a same homepage for all users, user profiles. Can someone help with this?

I need to set a same homepage for all users, user profiles. Can someone help with this?

All Replies (5)

more options

Hello, you might have to do this manually for each profile -- if you wish to submit a feature request, do so at https://bugzilla.mozilla.org -- Once there you will need to create an account. When you're registered follow the documentation for bug filing to get you started.

more options

Is there a reason you want this?

more options

We are running Firefox Quantum on Windows Server 2012R2 where all users must have same homepage when they open Firefox browser

more options

I called for more help.

more options

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

The mozilla.cfg file needs to be in the main Firefox program folder.

These functions can be used in the mozilla.cfg file:

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

This requires a local-settings.js file in the "defaults/pref" folder where the channel-prefs.js file is located that specifies to use mozilla.cfg.

//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also: