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

Mozilla 도움말 검색

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

자세히 살펴보기

Javascript in Firefox 90 PDF form viewer

  • 5 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: fuffberry

more options

As of Firefox 90, the PDF viewer within Firefox is reported to handle Javascript in PDFs. What must be done to disable JAVASCRIPT within the PDF viewer?

As of Firefox 90, the PDF viewer within Firefox is reported to handle Javascript in PDFs. What must be done to disable JAVASCRIPT within the PDF viewer?

선택된 해결법

Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste pdfjs.enableScripting and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

I'm not sure how to test that it worked. Maybe Adobe has a safe example on their website?

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

모든 댓글 (5)

more options

선택된 해결법

Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste pdfjs.enableScripting and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

I'm not sure how to test that it worked. Maybe Adobe has a safe example on their website?

more options

By the way, it was false up to Firefox 87 and flipped to true starting in Firefox 88.

more options

I only see that pref set to true in Nightly.


  • 1702796 - Update pdf.js to version 2.8.320
    • #13116 Enable scripting by default in the viewer (PR 13053 follow-up)

글쓴이 cor-el 수정일시

more options
more options

Thanks for the info - It was Firefox 88 release notes where I saw the bit about JAVASCRIPT in PDFs. I wish I could change the title on this issue to say "Javascript in Firefox 88 PDF form viewer" - upgraded my test system to FF90 then upgraded 'production' to FF88. Usually my questions are associated with the test 'nightly' version. I overlooked it when nightly went to version 88.