如何指定参数,谷歌浏览器的Adobe PDF浏览器? [英] How to specify parameters to google chrome adobe pdf viewer?

查看:456
本文介绍了如何指定参数,谷歌浏览器的Adobe PDF浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个这样的嵌入标记:

I have an embed tag like this:

<embed src="../../Content/PDF/StockReport.pdf#zoom=50" width="100%" height="100%">

在#变焦= 50是一个参数,它告诉pdf阅读器放大到50%。 这在所有的浏览器,但谷歌的Chrome,因为Chrome浏览器有一个内置的PDF阅读器。

the #zoom=50 is a parameter that tells the pdf reader to zoom to 50%. This works in all browsers but google chrome because chrome has a built in pdf viewer.

我怎样才能通过这个相同的参数,以谷歌浏览器的PDF查看器?

How can I pass this same parameter to google chrome's pdf viewer ?

推荐答案

检查各种镀铬的错误报告后,我可以证实,谷歌浏览器忽略的Adobe PDF浏览器的默认功能,并在此答案的时候有没有办法传递参数,如变焦,PDF阅读器中的铬。

After checking various chrome bug reports, I can confirm that google chrome ignores the default 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.

这篇关于如何指定参数,谷歌浏览器的Adobe PDF浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆