Enable Cookies for all users
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?
Zvolené řešení
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:
- http://kb.mozillazine.org/Locking_preferences
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
- http://kb.mozillazine.org/network.cookie.cookieBehavior
- http://kb.mozillazine.org/network.cookie.lifetimePolicy
Všechny odpovědi (2)
Zvolené řešení
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:
- http://kb.mozillazine.org/Locking_preferences
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
That did it! Many many thanks!