搜尋 Mozilla 技術支援網站

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

Learn More

Opening PDFs

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

more options

Hello. Does anyone know how to set up Firefox to open PDFs automatically without this little screen popping up? To me, automatically means to just opens with Adobe, but I still keep getting this screen - which I don’t want. The fewer the steps/clicks I have to do the better. Thanks in advance. Using a Windows 10 Home Edition Desktop Firefox Version 9.0

附加的畫面擷圖

被選擇的解決方法

Yes, but...

Firefox will follow your instructions on the Settings page for Portable Document Format (PDF) -- more info on how to set that in View PDF files in Firefox or choose another viewer -- if two conditions are met:

(1) The server sends Firefox this header:

Content-Type: application/pdf

If the server sends a different content-type, Firefox usually won't match it up with the saved instructions for application/pdf.

(2) The server does NOT send Firefox this header:

Content-Disposition: attachment

This triggers the download dialog Every. Single. Time.


I have an add-on to work around these two problems. You can install it from the Mozilla Add-ons site:

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

To activate it, click its Zzzz button on the toolbar to wake it up. That should take care of #1 automatically. To solve #2, click the button again and in the Content-Disposition Override section of the menu, click "Follow my settings (inline)".

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Yes, but...

Firefox will follow your instructions on the Settings page for Portable Document Format (PDF) -- more info on how to set that in View PDF files in Firefox or choose another viewer -- if two conditions are met:

(1) The server sends Firefox this header:

Content-Type: application/pdf

If the server sends a different content-type, Firefox usually won't match it up with the saved instructions for application/pdf.

(2) The server does NOT send Firefox this header:

Content-Disposition: attachment

This triggers the download dialog Every. Single. Time.


I have an add-on to work around these two problems. You can install it from the Mozilla Add-ons site:

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

To activate it, click its Zzzz button on the toolbar to wake it up. That should take care of #1 automatically. To solve #2, click the button again and in the Content-Disposition Override section of the menu, click "Follow my settings (inline)".

有幫助嗎?

more options

Jeez - that is genius. It seems strange to me that this is not part of the normal functionality of the browser, but THANK YOU for figuring this workaround out and providing it!

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題