问题描述
我必须在浏览器中显示3D PDF,并且很少有浏览器不支持3D PDF,例如Chrome,Firefox,移动浏览器.
I've to display 3D PDF in browser and few browsers doesn't support 3D PDF like Chrome, Firefox, Mobile browser.
我们如何检测/更新Chrome&中的默认PDF查看器插件. Firefox通过代码?
How can we detect / update the default PDF viewer plugin in Chrome & Firefox through code?
使用此代码.
我的查询是我想禁用默认的PDF查看器插件,并通过代码[javascript]启用Adobe Reader插件.有什么可能的解决方案吗?
My query is I want to disable the default PDF viewer plugin and enable Adobe Reader plugin through code [javascript]. Is there any possible solution for this?
推荐答案
我已经解决了在Chrome中显示3D PDF的问题,但是禁用了默认的PDF Viewer插件,并从chrome://plugins/中启用了Adobe Reader插件chrome浏览器.
I've got work around to display 3D PDF in Chrome but disabling the default PDF Viewer plugins and enabling the Adobe Reader plugins from chrome://plugins/ in chrome browser.
Chrome插件设置:
Chrome Plugins Settings:
Firefox插件设置:
Firefox Plugins Settings:
但是仍然希望通过代码更新此设置.
But still looking for this settings to be updated from code.
这篇关于如何在Chrome&中显示3D PDF Firefox浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!