搜尋 Mozilla 技術支援網站

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

了解更多

Is it possible to allow only certain extension to be installed and block all other?

  • 3 回覆
  • 1 有這個問題
  • 最近回覆由 cor-el

more options

Hi,

Is it possible to allow only certain extensions to be installed and block all others? Kinda like a negative blocklist.xml.

Hi, Is it possible to allow only certain extensions to be installed and block all others? Kinda like a negative blocklist.xml.

所有回覆 (3)

more options

Probably not, there isn't anything like that built into Firefox. Anything a user can do himself would involve locking the \extensions\ folder or emptying the Allowed Websites - Addons Installation list, but that would only prevent "online" installation of extensions. The worst "offenders" are programs that the user installs which create registry entries and "install" extensions that only the blocklist.xml mechanism can deal with.

The only possible way that I can think of is to add the 20,000 plus extensions that you don't want to the blocklist.xml file, and then lock it so that Mozilla can't update it.

由 the-edmeister 於 修改

more options

Thanks for the answer Edmeister,

I'm thinking about locking down the Extensions folder, and block downloading the xpi files.

Best regards, Sea-you

more options

You can lock the pref xpinstall.enabled to false

lockPref("xpinstall.enabled" ,false);


See also http://kb.mozillazine.org/Locking_preferences