본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

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

자세히 살펴보기

locking preferences for handling pdf files in firefox

  • 4 답장
  • 1 이 문제를 만남
  • 10 보기
  • 최종 답변자: cor-el

more options

We are using firefox esr in an hospital with 2000 computers in italy. We need to lock preferences about handling pdf files on firefox. Our best choice is to use always acrobat reader to open pdf files externally the browser window. we noticed that some web pages that contains pdf files to download ask the user if save or open the pdf file and if the user does not uncheck the value "Do this automatically for files like this now on" this change the default behavior that we have chosen previously on firefox . our computers are running windows 7 32 bit ad the latest version or the previous version of firefox esr (38 or 24). Thanks in advance.

We are using firefox esr in an hospital with 2000 computers in italy. We need to lock preferences about handling pdf files on firefox. Our best choice is to use always acrobat reader to open pdf files externally the browser window. we noticed that some web pages that contains pdf files to download ask the user if save or open the pdf file and if the user does not uncheck the value "Do this automatically for files like this now on" this change the default behavior that we have chosen previously on firefox . our computers are running windows 7 32 bit ad the latest version or the previous version of firefox esr (38 or 24). Thanks in advance.

모든 댓글 (4)

more options

Unfortunately there's not a way to lock settings in Firefox at this time. There is also not a way to modify these settings via group policy or something similar.

The best solutions I can think of would be either to set the settings how you would like them and then freeze the system running Firefox, using a tool like Faronics Deep Freeze, OR run Firefox remotely (using MS RemoteApp or similar) while ensuring that the settings are set up the way you want prior to deploying the RemoteApp.

Whatever you chose to do, there is no fully internal to Firefox solution for this sort of thing.

글쓴이 Mark Schmidt 수정일시

more options

Hi enrico8, The best place to ask is the experts on the ESR mailing list:

However to lock this preference make sure to read the last paragraph about ESR and Adobe Acrobat in this MDN article!

글쓴이 guigs 수정일시

more options

So if I set Firefox to use Acrobat Reader to open pdf files and then in about:config page I set pdfjs.disabled to true I can obtain the wanted result?

more options

You can only set a (default) value to prefs that are present on the about:config page.

You can't use about:config to set a choice that is stored in the mimeTypes.rdf file and "Do this automatically for files like this now on" is a setting that is stored in mimeTypes.rdf and not stored as a pref. This setting depends on the MIME type that the servers sends with a file. The built-in PDF Viewer only supports application/pdf

The mozilla.cfg file is run as a JavaScript file with chrome permissions, so in principle you could parse the mimeTypes.rdf file in the current Firefox profile folder on startup.