ابحث في الدعم

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

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

  • 4 ردود
  • 2 have this problem
  • 5 views
  • آخر ردّ كتبه 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?

الحل المُختار

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)
Read this answer in context 👍 1

All Replies (4)

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");
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.