Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

LockPrefs doesn't work on Firefox 53

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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?

Solution choisie

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

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

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.