Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

lock preferences

  • 1 reply
  • 3 have this problem
  • 3 views
  • Last reply by cor-el

more options

Is there a way to lock the preferences file in Firefox 6.0 so that settings cannot be changed? I used to be able to do this in 4.0.

Thanks

Is there a way to lock the preferences file in Firefox 6.0 so that settings cannot be changed? I used to be able to do this in 4.0. Thanks

All Replies (1)

more options

The instructions haven't changed and are still the same.

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // only needed if you want to disable disable the byte-shift

You can use these functions in mozilla.cfg:

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

See: