搜尋 Mozilla 技術支援網站

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

了解更多

how to set up plugins default to 'ask activate' or I can modify the option for all

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

more options

Firefox plugins have an option "Ask to Activate"/"Always Activate"/"Never Activate", now I have to choose it one by one, how can I set a default to all plugins and change them by selected or batch?

Does this options value in a file? Can I edit it directly?

Thanks for your help!

Firefox plugins have an option "Ask to Activate"/"Always Activate"/"Never Activate", now I have to choose it one by one, how can I set a default to all plugins and change them by selected or batch? Does this options value in a file? Can I edit it directly? Thanks for your help!

所有回覆 (9)

more options

Hello,

  1. Go to about:config search for plugin.default.state and change its value to:
    • 0 - never activate.
    • 1 - ask to activate.
    • 2 - always activate.

由 Diego Victor 於 修改

more options

If you want to do this for individual web sites;

Go to the web page. After the page is loading, mouse to the address bar and LEFT click the icon. A window for displaying site information should come up. Select More Information. Then Permissions. Go thru the list. You can manually change the settings as you wish.

more options

Thank you very much!

more options

It will be better If I can mass change the option in screen 'about:addons'

more options

I guess that "plugin.default.state " is only work while the add-on installation process? after the add-on installed, it cannot reset all add-on by the value default

more options

You can set the default behavior on the "Firefox/Tools > Add-ons > Plugins" page.

more options

how can i roll this solution for a corporate enviourment

more options

Firefox plugins have an option "Ask to Activate"/"Always Activate"/"Never Activate", now I have to choose it one by one, how can I set a default to all plugins and change them to always activate in a corporate enviourment,

Thanks for your help!

more options

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

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");

These functions can be used in the mozilla.cfg file:

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

See: