X
Tap here to go to the mobile version of the site.

Support Forum

Can't set network.trr.mode via user.js

Posted

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.

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.
Quote

Additional System Details

Installed Plug-ins

None

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

More Information

philipp
  • Top 25 Contributor
  • Moderator
5320 solutions 23501 answers

Helpful Reply

hi, please try the following instead (no quotes around the integer):

user_pref("network.trr.mode", 5);
hi, please try the following instead (no quotes around the integer): user_pref("network.trr.mode", 5);
Was this helpful to you? 1
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17568 solutions 158896 answers

Chosen Solution

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
Was this helpful to you?
Quote

Question owner

Thank you. That fixed it.

Thank you. That fixed it.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.