搜尋 Mozilla 技術支援網站

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

Learn More

Enable Cookies for all users

  • 2 回覆
  • 43 有這個問題
  • 8 次檢視
  • 最近回覆由 jasonrw

more options

Hello,

I have a series of computers that run mozilla firefox. For some reason, firefox's cookie handling is turned off by default for everyone that would use a computer. I can enable it on a per-user basis, but that is tedious. Not to mention it totally confounds end users as to why some web-sites do not work. Is there a way to enable cookies for all users of a computer without having to re-sysprep and copy over a new default profile to each of the computers? Something in about:config maybe?

Hello, I have a series of computers that run mozilla firefox. For some reason, firefox's cookie handling is turned off by default for everyone that would use a computer. I can enable it on a per-user basis, but that is tedious. Not to mention it totally confounds end users as to why some web-sites do not work. Is there a way to enable cookies for all users of a computer without having to re-sysprep and copy over a new default profile to each of the computers? Something in about:config maybe?

被選擇的解決方法

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

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:


從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

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:


more options

That did it! Many many thanks!