Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Is there a way to automatically allow a third party plugin in Firefox prior to first use for multiple users?

  • 1 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 cor-el

more options

I'm looking for a way to automatically set a third party plugin to "allow" for all users within the company. I've verified that the plugin is safe. I'd like to avoid the users having to click on Allow, then Allow and Remember in order to change the setting in Tools / Page Info / Permissions tab for the specific plugin from Use Default to the Allow radio button. The website is for internal use only and not public facing where the plugin is needed.

I'm looking for a way to automatically set a third party plugin to "allow" for all users within the company. I've verified that the plugin is safe. I'd like to avoid the users having to click on Allow, then Allow and Remember in order to change the setting in Tools / Page Info / Permissions tab for the specific plugin from Use Default to the Allow radio button. The website is for internal use only and not public facing where the plugin is needed.

所有回复 (1)

more options

You can set its corresponding plugin.state pref to 2.

  • 0:Never Activate; 1:Ask to Activate; 2:Always Activate

You would have to check the about:config page to find the correct pref for that plugin.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.


You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences.

A local-settings.js file needs to be placed 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

The mozilla.cfg file needs to start with a comment line (//).

See Configuration:

See also: