English 中文(简体)
在Chrome中打开本地PDF文件
原标题:Opening a local PDF file in Chrome

好的,我看到这两个问题:

如何在Google Chrome浏览器的新选项卡中打开PDF文件

谷歌浏览器可以打开本地链接吗

但我不确定他们是否回答了我的问题。我尽量不安装任何PDF阅读器(Adobe很糟糕),并且知道Chrome会打开我从互联网上打开的PDF。所以我的问题是,如果PDF是我的机器本地的,为什么它不起作用?有没有一个变通方法/插件/其他浏览器可以用来实现这一点?

关于安全的论点完全是假的;我在网上打开的PDF怎么会比我在本地机器上打开的PDF更安全?

最佳回答

我现在在我的电脑上运行Chrome 8.0.552.18,在Windows 7下,我只是点击并拖动了一个PDF到它上面,它加载了它,没有问题。。。

不,它看起来不像是在使用Acrobat、Foxit或其他PDF阅读器。。。看起来Chrome 8确实有自己的PDF渲染器。

问题回答

我假设你在Windows上。因此,如果您的PDF是c:somepathsome.PDF,只需在Chrome的地址和搜索字段中使用此URI:

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

在Linux上,我希望/some/path/some.pdf更改为

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

(但没有机会对此进行测试)。





相关问题
How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Extract everything from PDF [closed]

Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...

PDF compression How does Adobe do it?

This is a bit more of a fun question than a serious one, but how does the Adobe PDF format make documents so... portable? I just created a small Word document, 235kb in size, containing multiple ...

Exporting HTML Tables

How can I export an HTML table in my page as PDF and/or XLS? (preferably using JS (+jquery))

Using Java PDFBox library to write Russian PDF

I am using a Java library called PDFBox trying to write text to a PDF. It works perfect for English text, but when i tried to write Russian text inside the PDF the letters appeared so strange. It ...

HTML --> PDF with PHP [duplicate]

Possible Duplicate: Convert HTML + CSS to PDF with PHP? How can I convert an HTML page (via $cURL or something) to a PDF file?

Free way to convert PDF to XPS with C#

Are there any free tools that I can use to convert a PDF document into an XPS document? Although a nice programmatic API would be nice, I m not opposed to shelling out to a command line tool to do ...

PDF conversion service

I need to develop a service able to convert MS Office and Open Office documents to PDF. And the PDF`s also need to be commentable when opened in ADOBE Reader. I have used a piece of software from www....

热门标签