搜尋 Mozilla 技術支援網站

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

了解更多

Why can't Firefox open a .pdf sometimes?

  • 1 回覆
  • 2 有這個問題
  • 11 次檢視
  • 最近回覆由 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.