Search Support

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.

Learn More

'extensions.update.enabled' option not working

  • 4 replies
  • 2 have this problem
  • 21 views
  • Last reply by 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.

Chosen solution

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:

Read this answer in context 👍 1

All Replies (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?

Modified by thenefield

more options

Chosen Solution

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:

Modified by 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!