搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How can I set a specified homepage for all users? Thank you!

  • 5 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 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?

所有回覆 (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: