Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 4 件の返信
  • 2 人がこの問題に困っています
  • 5 回表示
  • 最後の返信者: 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)
この回答をすべて読む 👍 1

すべての返信 (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.