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

搜索 | 用户支持

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

详细了解

Why can't Firefox open a .pdf sometimes?

  • 1 个回答
  • 2 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

Sometimes Firefox 45.0 on my MacBook Pro running 10.11.3 will open a .pdf file in a new tab. Sometimes it will instead offer to save it.

The .pdf I'm trying to look at right now is my monthly statement from PayPal. Firefox wants to save it.

I looked in Preferences -> Applications and scrolled down to find *two* entries (See screenshot.), both with pop-up Action menus. The bottom entry looks good with the Action Pop-Up set the "Preview in Firefox".

The top entry Action Pop-up does not have a selection for "Preview in Firefox", so I selected "Use other..." and navigated to Applications -> Firefox -> Firefox.app. This did not seem to help. When I clicked away it reverted to "Use Preview".

Are there two kinds of .pdf files, one that Firefox can view and not the other?

--Gil

Sometimes Firefox 45.0 on my MacBook Pro running 10.11.3 will open a .pdf file in a new tab. Sometimes it will instead offer to save it. The .pdf I'm trying to look at right now is my monthly statement from PayPal. Firefox wants to save it. I looked in Preferences -> Applications and scrolled down to find *two* entries (See screenshot.), both with pop-up Action menus. The bottom entry looks good with the Action Pop-Up set the "Preview in Firefox". The top entry Action Pop-up does not have a selection for "Preview in Firefox", so I selected "Use other..." and navigated to Applications -> Firefox -> Firefox.app. This did not seem to help. When I clicked away it reverted to "Use Preview". Are there two kinds of .pdf files, one that Firefox can view and not the other? --Gil
已附加屏幕截图

被采纳的解决方案

The built-in Firefox PDF Viewer only supports the content type application/pdf. If the server sends the file with a different content type or as content disposition then Firefox will only offer to save the file.

定位到答案原位置 👍 1

所有回复 (1)

more options

选择的解决方案

The built-in Firefox PDF Viewer only supports the content type application/pdf. If the server sends the file with a different content type or as content disposition then Firefox will only offer to save the file.