為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Some pdf files won't open in browser while others do - how to fix that?

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

more options

Hello,

just switched from Opera to Firefox and - with the help of some add-ons - feel pretty satisfied already.

One annoying problem though: While many pdf-files will open properly with PDF-XChange Viewer plugin within the browser, there are many websites with links to pdf files where the setting "Use PDF-XChange Viewer (within Firefox)" prompts Firefox to download the file instead.

Examples:

http://www.visitbritainshop.com/nordics/travel-transport/london-transport.html The map of London Transport (link in the middle of the site) will open within the browser

http://search.knightfrank.co.uk/ngh140118 The floorplan or the brochure won't open within the browser but be downloaded instead

I've never experienced this (in Opera) before.

What could be the reason for that? And is there a way to change it?

Thanks in advance!

Hello, just switched from Opera to Firefox and - with the help of some add-ons - feel pretty satisfied already. One annoying problem though: While many pdf-files will open properly with PDF-XChange Viewer plugin within the browser, there are many websites with links to pdf files where the setting "Use PDF-XChange Viewer (within Firefox)" prompts Firefox to download the file instead. Examples: http://www.visitbritainshop.com/nordics/travel-transport/london-transport.html The map of London Transport (link in the middle of the site) will open within the browser http://search.knightfrank.co.uk/ngh140118 The floorplan or the brochure won't open within the browser but be downloaded instead I've never experienced this (in Opera) before. What could be the reason for that? And is there a way to change it? Thanks in advance!

所有回覆 (1)

more options

While trying to find a solution for that issue, I stumbled across a post that describes a similar problem with jpegs: https://support.mozilla.org/en-US/questions/979919

One reply suggests: "Are you sure that these images are send with a proper MIME type for images and not with a generic MIME type that makes Firefox show the "Open with" dialog? "

The suggested solution, an extension called Open-in-Browser https://addons.mozilla.org/firefox/addon/open-in-browser/ works fine regarding the pdfs in question, and is acceptable for me, although I agree with the poster from above, that " it is a bug that should be fixed instead of relying on an extension".