Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How to whitelist trusted sites for Java plugin?

  • 7 답장
  • 4 이 문제를 만남
  • 2 보기
  • 최종 답변자: Keslaa

more options

I am deploying Firefox 30 to about 2500 machines. We have an internal site that requires the Java plugin and is extensively used throughout the organization. How can I (through Preferences or some other device) set the Java plugin to Always Activate for this one internal website?

I am deploying Firefox 30 to about 2500 machines. We have an internal site that requires the Java plugin and is extensively used throughout the organization. How can I (through Preferences or some other device) set the Java plugin to Always Activate for this one internal website?

선택된 해결법

I didn't have time to figure out anything so granular. I ended up just setting the Java plugin to Always Activate by adding pref("plugin.state.java", 2); to our existing mozilla.cfg file

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (7)

more options

I think these references will get you started, however I have not done this before:

http://kb.mozillazine.org/Locking_preferences

  You will need a mozilla.cfg and local-settings.js configured, I can copy them to all of the computers with a script, instead of having to install the GPO AddOn. Here's what my local-settings.js looks like:

pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

- pref, lockPref & defaultPref have different meanings: http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files...

more options

It is not possible to white-list a plugin for a specific domain via preferences. Via preferences you can only define the default behavior and that is best left to "Ask to Activate". Normally you white-list (allow) a plugin for a specific domain in "Tools > Page Info > Permissions" and this is one of the settings that is stored in the permissions.sqlite file as part of the "Site Preferences". So you would have to inject such a record in this file to allow Java automatically for this domain.


Note that you likely also have to white-list this site in the Java plugin and that can only be done via the Java control Center AFAIK.

If you visit a website regularly then a possible workaround is to add the URL to the Java Exceptions Site List, see:

more options

Thank you for the information, cor-el. I already have the site added to the Exception Sites list. (We did the Java dance last month.) Is there some documentation on how best to deploy such a setting as you describe into the permissions.sqlite file on a global basis? Should I configure a workstation and then port the settings file out to be deployed as part of the Firefox installation? We are already copying local-settings.js, mms.cfg and firefox.cfg files.

more options

Thank you for the reply, guigs2. I had already looked at those links for locking other settings we were working on and they were extremely helpful in that regard.

more options

Is this for existing profiles or for new installation that haven't used Firefox before?

You can initialize a profile by creating a browser\defaults\profile folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\) and place files in it to have them copied to a newly created profile.

more options

This is for both new and existing users

more options

선택된 해결법

I didn't have time to figure out anything so granular. I ended up just setting the Java plugin to Always Activate by adding pref("plugin.state.java", 2); to our existing mozilla.cfg file