开发者

Opening a local PDF file in Chrome

Ok I see these 2 questions:

How to open PDF file in Google Chrome in new tab?

Can Google Chrome open local links?

Bu开发者_开发知识库t I'm not sure they answer my question. I'm trying not to install any PDF reader (Adobe sucks) and know that Chrome will open PDFs I open from the internet. So my question, is why won't it work if the PDF is local to my machine? Is there a workaround/plugin/other browser I can use to accomplish this?

The argument of security is totally bogus; how would a PDF I'm opening on the internet be any more secure/safe than a PDF I have on my local machine?


I'm running Chrome 8.0.552.18 on my computer now, under Windows 7, and I just clicked and dragged a PDF onto it, and it loaded it up no problem...

And no, it doesn't look like it's using Acrobat or Foxit, or another PDF reader... it looks like Chrome 8 does have its own PDF renderer.


I'm assuming you are on Windows. So, if your PDF is c:\some\path\some.pdf, simply use this URI in Chrome's address and search field:

 file:///C:/some/path/some.pdf

On Linux I'd expect this for /some/path/some.pdf to change to

 file:///some/path/some.pdf

(but have no chance to test this).


When you say "open a PDF in Chrome", what do you mean, exactly? Are you opening it through Gmail or Google Docs? If so, that's Google doing conversion behind the scenes, converting it to HTML on their servers, with Chrome simply rendering the HTML as usual.

As far as I'm aware, Chrome has no built-in PDF viewing capabilities.

edit looks like Chrome 8 does have its own PDF viewer built-in. Wowj.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜