Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 3 ответа
  • 4 имеют эту проблему
  • 24 просмотра
  • Последний ответ от 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