搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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: