![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Can't set network.trr.mode via user.js
I work in a Windows enterprise environment that want to implement the following setting in Firefox 69.03: user_pref("network.trr.mode", "5");
I have a one line user.js file and place it where the prefs.js is located. The changed setting is never picked up by Firefox. What am I doing wrong? Thanks.
Ausgewählte Lösung
Note that you can use an autoconfig.cfg file to initialize/set prefs globally.
- https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
- https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson
Alle Antworten (3)
hi, please try the following instead (no quotes around the integer):
user_pref("network.trr.mode", 5);
Ausgewählte Lösung
Note that you can use an autoconfig.cfg file to initialize/set prefs globally.
Thank you. That fixed it.