Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

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".