为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.