搜尋 Mozilla 技術支援網站

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

Learn More

How do you completely disable the installation and use of add-ons for firefox 4? Is there a config setting/file that can be changed to completely disable add-ons?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I want to completley disable the installation and/or use of add-ons in Firefox 4. I don't want anybody that logs onto either of my computers to be able to use add-ons and I can't find a way to disable it in the configuration files. I've found ways to lock down other options like updates etc. but I cannot find a way to completely disable add-ons.

I want to completley disable the installation and/or use of add-ons in Firefox 4. I don't want anybody that logs onto either of my computers to be able to use add-ons and I can't find a way to disable it in the configuration files. I've found ways to lock down other options like updates etc. but I cannot find a way to completely disable add-ons.

所有回覆 (1)

more options

See:

You can use a mozilla.cfg file to lock prefs or specify default values.
You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

You can use these functions in mozilla.cfg:

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


To prevent users from installing software use:

 //
 lockPref("xpinstall.enabled" ,false);