This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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.

Rohkem teavet

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

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.

Valitud lahendus

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
Loe vastust kontekstis 👍 2

All Replies (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

Valitud lahendus

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.