Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

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

  • 9 پاسخ
  • 6 have this problem
  • 33 views
  • آخرین پاسخ توسّط 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.

Modified by 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: