搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

PDF "Open with" Preference Not Working

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 laeupple

more options

When Firefox opens a PDF it diplays the popup menu asking how to open the doc. The "Do this automatically..." box is checked, however EVERY time a PDF is opened the same popup displays as if that box wasn't check (and shows that it's checked each time it pops up).

Additionally, when checking the Applications setting, it shows that PDFs should open with macOS default application (which is Adobe Acrobat).

It is SO annoying getting the same popup with every opened PDF. Please help!

When Firefox opens a PDF it diplays the popup menu asking how to open the doc. The "Do this automatically..." box is checked, however EVERY time a PDF is opened the same popup displays as if that box wasn't check (and shows that it's checked each time it pops up). Additionally, when checking the Applications setting, it shows that PDFs should open with macOS default application (which is Adobe Acrobat). It is SO annoying getting the same popup with every opened PDF. Please help!
附加的畫面擷圖

所有回覆 (2)

more options

Hi laeupple, just to clarify, your browser identified itself as running on Windows 10, your screenshots are from a Mac, but the question was posted under iOS (iPhone/iPad). The problem is on Mac?

When sending a download, sites set multiple HTTP headers. Sites can set two of these to trigger the download dialog, bypassing Firefox's automatic handling of downloads:

(1) Content-Disposition

If a server sends a Content-Disposition header set to attachment, which bypasses viewing in a tab, Firefox will always show the download dialog.

(2) Content-Type

The setting on the Options/Preferences page is keyed to the content type application/pdf, not the file name/extension. If the server sends a different content type, Firefox won't use the PDF instructions.

If you would consider using an add-on to address these issues, I have one here:

https://addons.mozilla.org/firefox/addon/content-type-fixer/

When using a site that has this issue, click the Zzzz button to wake up the extension, then click the button again and select the "Follow my settings (inline)" option:

<center></center>
more options

Hi jscher2000,

Yes, the issue is on my Mac. I must have rushed and selected the wrong tag/board. If I can update that plz let me know.

Also, you are correct the browser identifies as Windows 10. My company has an internal web app, unrelated to this PDF issue completely, that wasn't designed to run on Mac. I have to have the browser set that way in order to access it.

Thanks for the info! I'll try your add-on.