搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Disable addons settings in mozilla.cfg

  • 3 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 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!

所有回覆 (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

由 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