Søg i 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

Enable Cookies for all users

  • 2 svar
  • 43 har dette problem
  • 12399 visninger
  • Seneste svar af 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?

Valgt løsning

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:


Læs dette svar i sammenhæng 👍 2

Alle svar (2)

more options

Valgt løsning

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!