I am using a PDF viewer in an MVC application, object id='pdfbox'
. For this to work an add-on has to be enabled in the browser: Adobe PDF Link Helper.
我在MVC应用程序中使用PDF查看器,对象id ='pdfbox'。为此,必须在浏览器中启用加载项:Adobe PDF Link Helper。
Is it programmatically possible to determine if the add-on is enabled or not in the client machine and give to link to enable the add-on?
是否可以通过编程方式确定客户端计算机中是否启用了加载项,并提供链接以启用加载项?
Is any sample code available?
是否有可用的示例代码?
1 个解决方案
#1
1
You could try providing alternate content which will be displayed if the plugin is not installed:
您可以尝试提供备用内容,如果未安装插件,将显示该内容:
<object ...>
<p>
You do not have the XXX plugin installed. You could download it here
</p>
</object>
#1
1
You could try providing alternate content which will be displayed if the plugin is not installed:
您可以尝试提供备用内容,如果未安装插件,将显示该内容:
<object ...>
<p>
You do not have the XXX plugin installed. You could download it here
</p>
</object>