搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.