搜索 | 用户支持

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

详细了解

How to define Firefox to “allow and remember” Java plugin?

  • 3 个回答
  • 4 人有此问题
  • 66 次查看
  • 最后回复者为 StackOverUser

more options

We have a Java application used by about five hundred computers, the recommended Firefox version to use is Firefox 43.

Every time a new user starts using the application or a new PC has to be installed we need to tell the user to manually click the button below and on the following window click "allow and remember".

Searching the web I saw that firefox provides mozilla.cfg file which can be used to change parameters but I couldn't find which ones I should use to "allow and remember" plugin permissions so we don't have to tech every new user to do that (also, old users often forget). It would be great to distribute this file over the network or create a script to run along firefox installation.

To summarize, what I want is to find a way to do what is described on the steps "Always activate Java for a site" and "Java security prompts" of this: https://support.mozilla.org/en-US/kb/how-allow-java-trusted-sites in the mozilla.cfg file or any other configuration option so users don't have to it themselves.

We have a Java application used by about five hundred computers, the recommended Firefox version to use is Firefox 43. Every time a new user starts using the application or a new PC has to be installed we need to tell the user to manually click the button below and on the following window click "allow and remember". Searching the web I saw that firefox provides mozilla.cfg file which can be used to change parameters but I couldn't find which ones I should use to "allow and remember" plugin permissions so we don't have to tech every new user to do that (also, old users often forget). It would be great to distribute this file over the network or create a script to run along firefox installation. To summarize, what I want is to find a way to do what is described on the steps "Always activate Java for a site" and "Java security prompts" of this: https://support.mozilla.org/en-US/kb/how-allow-java-trusted-sites in the mozilla.cfg file or any other configuration option so users don't have to it themselves.

被采纳的解决方案

You could give this code in mozilla.cfg a try:

//
pref("plugin.state.java", 2);

More information about plugin.state

0:Never Activate; 1:Ask to Activate; 2:Always Activate
定位到答案原位置 👍 2

所有回复 (3)

more options

First, I would never recommend using an outdated version of Firefox because of the many security issues that are fixed in each version. I would recommend using Firefox ESR branch for managing a larger amount of computers, or in the environment that you describe.

If we cannot find a conclusion here, I highly recommend also posting this question in the ESR mailing list - they are very responsive as they use the mconfig on a weekly basis. https://www.mozilla.org/en-US/firefox.../faq/

It will depend what version of Java you are using, as there is a config in Firefox 43 that blocks all plugins that have been deemed a priority 1 vulnerability based on these release dates (it does not matter the Firefox version) this about:config

Also the extensions detailed by mike kaply in this solutions links are still valid:

I hope that helps, that is all I know.

more options

选择的解决方案

You could give this code in mozilla.cfg a try:

//
pref("plugin.state.java", 2);

More information about plugin.state

0:Never Activate; 1:Ask to Activate; 2:Always Activate
more options

It worked, thanks.