HTML:如何为Chrome本机PDF阅读器指定PDF打开参数? [英] HTML : How to specify PDF open parameters for Chrome native PDF reader?
问题描述
< object id =pdfviewer1data = 'b.pdf#page = 1& toolbar = 0& statusbar = 0& messages = 0& navpanes = 0& scrollbar = 0'
type ='application / pdf'
width ='500px'
height ='350px'>
< p>看起来您没有此浏览器的PDF插件。< / p>
< / object>
由于Chrome上的原生PDF阅读器,所有 openParams 选项被忽略,因为它们是Adobe Reader的特定选项。
是否可以为Chrome本机PDF阅读器指定PDF打开参数? 我只是引用@Robotsushi回答他已在其主题中撰写了关闭问题:
在查看各种铬错误报告后,我可以确认google chrome忽略了adobe pdf查看器的缺陷功能,这个答案是没有办法像在Chrome浏览器中将缩放参数传递给PDF查看器一样。
我希望这可以节省一些时间。
I am displaying some PDF documents in my web site like this :
<object id="pdfviewer1" data='b.pdf#page=1&toolbar=0&statusbar=0&messages=0&navpanes=0&scrollbar=0'
type='application/pdf'
width='500px'
height='350px'>
<p>It appears you don't have a PDF plugin for this browser.</p>
</object>
Because of native PDF reader on Chrome, all openParams options are ignored because they are specifics for Adobe Reader.
Is it possible to specify PDF open parameters for Chrome native PDF reader?
I am just quoting @Robotsushi answer he has written in his topic for closing the question :
After checking various chrome bug reports, I can confirm that google chrome ignores the defualt functionality of adobe pdf viewer and at the time of this answer there is no way to passing parameters like zoom to the pdf viewer in chrome. I hope this saves someone else some time.
这篇关于HTML:如何为Chrome本机PDF阅读器指定PDF打开参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!