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

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

I am deploying Firefox ESR and need to know if plugins read from the registry can be forcibly enabled on all computers.

  • 4 biyano
  • 2 eza na bankokoso oyo
  • 5 views
  • Eyano yasuka ya cor-el

more options

I am deploying Firefox ESR 31.X to all computers in my company. We have security plugins that I need to have forcibly running on each computer so that the users cannot disable it. The main example of this is McAfee SiteAdvisor. Firefox finds the plugin based upon the HKLM\Software\MozillaPlugins registry key. The plugin provides a PATH to the DLL location in the Program Files\McAfee folder. Is there any way that I can set this plugin to always be enabled?

I am deploying Firefox ESR 31.X to all computers in my company. We have security plugins that I need to have forcibly running on each computer so that the users cannot disable it. The main example of this is McAfee SiteAdvisor. Firefox finds the plugin based upon the HKLM\Software\MozillaPlugins registry key. The plugin provides a PATH to the DLL location in the Program Files\McAfee folder. Is there any way that I can set this plugin to always be enabled?

Solution eye eponami

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");
pref("general.config.obscure_value", 0);

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

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

See:


You need to set the related plugin.state pref(s) to 2 to always activate a plugin.

  • lockPref("plugin.state.npmcffplg", 2);
  • plugin.state (0:Never Activate; 1:Ask to Activate; 2:Always Activate)
Tanga eyano oyo ndenge esengeli 👍 1

All Replies (4)

more options

Solution eye oponami

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");
pref("general.config.obscure_value", 0);

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

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

See:


You need to set the related plugin.state pref(s) to 2 to always activate a plugin.

  • lockPref("plugin.state.npmcffplg", 2);
  • plugin.state (0:Never Activate; 1:Ask to Activate; 2:Always Activate)
more options

Thank you kindly. Worked like a charm.

more options

would it be possible to "Always Activate" certain plugins for certain Websites? Or is it an all or nothing setting?

Thanks in advance for your assistance Ed

more options

You can inspect and manage permissions for the domain in the currently selected tab via these steps:

  • Click the "Site Identity Button" (globe/padlock) on the location/address bar
  • Click "More Information" to open "Tools > Page Info" with the Security tab selected
  • Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab

Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data like enabled plugins.