We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 3 trả lời
  • 4 gặp vấn đề này
  • 25 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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
Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (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

Giải pháp được chọn

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.