This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

Disable addons settings in mozilla.cfg

  • 3 ردود
  • 1 has this problem
  • 10 views
  • آخر ردّ كتبه ideato

more options

I need to disable the ability of a user to install addons in the Firefox ESR version. I have added lockPref("app.update.enabled",false); lockPref("app.update.auto",false); lockPref("extensions.update.enabled", false); lockPref("browser.search.update", false);

This doesn't work as users are still able to install addons. What are the options that cover addon installations?

Thanks in advance!

I need to disable the ability of a user to install addons in the Firefox ESR version. I have added lockPref("app.update.enabled",false); lockPref("app.update.auto",false); lockPref("extensions.update.enabled", false); lockPref("browser.search.update", false); This doesn't work as users are still able to install addons. What are the options that cover addon installations? Thanks in advance!

All Replies (3)

more options

In about:config create xpinstall.enabled (Boolean) and make it FALSE (it is true by default and not exist)

then lock it (as you do with app.update.enabled etc.) with Locking preferences

when it is false and Unlock when someone try to install an add-on then, he/she can see an info bar asking for permission to install the extension... so is useless if it is UNlock.

try it and please report back to us


thank you

Modified by ideato

more options

I tried that after getting that information from the mockbox website (http://www.mockbox.net/windows-7/498-firefox-10-how-to-disable-addon-plugin-installation) but it made no change in the behavior. The Tools menu still allows users to download and install addons openly. The about:config page shows the option xpinstall.enabled with a value of false and locked.

more options

sorry see: Bug 668999 xpinstall.enabled is supposed to be a kill switch, not prompt for re-enabling