This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

تلاش سپورٹ

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.

مزید سیکھیں

LockPrefs doesn't work on Firefox 53

  • 2 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 1 دیکھیں
  • آخری جواب بذریعہ john.chan

more options

$ cat /Applications/Firefox.app/defaults/pref/local-settings.js pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13 pref("general.config.filename", "mozilla.cfg");

$ cat /Applications/Firefox.app/mozilla.cfg // lockPref("browser.startup.homepage", "http://www.itsupportguides.com"); lockPref("network.proxy.type", 0);

Restart Firefox but nothing was taking effect for lockPref() on "network.proxy.type" Any ideas?

$ cat /Applications/Firefox.app/defaults/pref/local-settings.js pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13 pref("general.config.filename", "mozilla.cfg"); $ cat /Applications/Firefox.app/mozilla.cfg // lockPref("browser.startup.homepage", "http://www.itsupportguides.com"); lockPref("network.proxy.type", 0); Restart Firefox but nothing was taking effect for lockPref() on "network.proxy.type" Any ideas?

منتخب شدہ حل

The mozilla.cfg file works for me.

Just to be sure that the files are in the correct location:

The local-settings.js file needs to be in /Applications/Firefox.app/Contents/Resources/defaults/pref The mozilla.cfg file needs to be in /Applications/Firefox.app/Contents/Resources

اس جواب کو سیاق و سباق میں پڑھیں 👍 0

تمام جوابات (2)

more options

منتخب شدہ حل

The mozilla.cfg file works for me.

Just to be sure that the files are in the correct location:

The local-settings.js file needs to be in /Applications/Firefox.app/Contents/Resources/defaults/pref The mozilla.cfg file needs to be in /Applications/Firefox.app/Contents/Resources

more options

It worked now after using your paths.