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!

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

Learn More

'extensions.update.enabled' option not working

  • 4 réponses
  • 2 ont ce problème
  • 1 vue
  • Dernière réponse par thenefield

more options

I am using firefox 31.4.0-1.el5_11.i386 in Red Hat Enterprise Linux 5.

I have applied the following line to /usr/lib/firefox/mozilla.cfg:

lockPref("extensions.update.enabled", false);

However, when navigating to about:config, the selected option 'extensions.update.enabled' is not set to false and is not locked.

I am using firefox 31.4.0-1.el5_11.i386 in Red Hat Enterprise Linux 5. I have applied the following line to /usr/lib/firefox/mozilla.cfg: lockPref("extensions.update.enabled", false); However, when navigating to about:config, the selected option 'extensions.update.enabled' is not set to false and is not locked.

Solution choisie

Does the mozilla.cfg start with a comment line?

//
lockPref("extensions.update.enabled", false);

This is necessary because the first line of the file is skipped.

Did you create a settings.js file?


Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (4)

more options

Hi, and in /usr/lib/firefox/pref

the next

pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

(to Loading the lock file)

thank you

more options

This does not answer my question.

I am aware of how to configure locked values. I have many other settings applied and locked, which do define properly.

My question is why the specific preference indicated "extensions.update.enabled" does not apply properly like all other values do?

Modifié le par thenefield

more options

Solution choisie

Does the mozilla.cfg start with a comment line?

//
lockPref("extensions.update.enabled", false);

This is necessary because the first line of the file is skipped.

Did you create a settings.js file?


Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

Modifié le par cor-el

more options

thenefield said

I am using firefox 31.4.0-1.el5_11.i386 in Red Hat Enterprise Linux 5. I have applied the following line to /usr/lib/firefox/mozilla.cfg: lockPref("extensions.update.enabled", false); However, when navigating to about:config, the selected option 'extensions.update.enabled' is not set to false and is not locked.

cor-el said

Does the mozilla.cfg start with a comment line?
//
lockPref("extensions.update.enabled", false);

This is necessary because the first line of the file is skipped.

Did you create a settings.js file?


Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

Forgive my ignorance. I was missing the blank line at the top. The setting in question was located on the first line. Adding a blank line at the top resolved my issue. Thanks!