![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to roll out proxy configuration url?
I would like to roll out the "proxy auto-configuration url" setting on our entire network, via login script. With other Browsers it was easy enough to roll-out a *.reg file adjusting the browsers registry section on every client, but I can't find the pendant for firefox. I read in some forums, that these settings are stored in prefs.js, but couldn't work out a way to distribute that over our network as easy as the .reg files.
Toate răspunsurile (1)
A possibility is to use a mozilla.cfg file in the Firefox program folder to set new default values for prefs or lock the prefs to specific values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift
See:
You can use these functions in mozilla.cfg:
defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes