Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

LockPrefs doesn't work on Firefox 53

  • 2 ответа
  • 1 имеет эту проблему
  • 3 просмотра
  • Последний ответ от 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.