This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 9 bhfreagra
  • 6 leis an bhfadhb seo
  • 3 views
  • Freagra is déanaí ó 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!

All Replies (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.

Athraithe ag Diego Victor ar

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: