查询浏览器插件的存在/版本/等 [英] Querying browser-plugin existence/version/etc

查看:201
本文介绍了查询浏览器插件的存在/版本/等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就IE而言,我的理解是您必须尝试实例化ActiveXObject,然后检查是否成功,然后可以通过实例化的插件查询版本...没有什么特别令人兴奋的。

As far as IE, my understanding is you have to try and instantiate an ActiveXObject and then check this succeeds, and you can then query the version through the instanced plugin... nothing particularly exciting.

但是在Firefox(我认为其他NPAPI浏览器)上,您可以检查已安装的插件并获取DLL名称,等等(至少在Windows上如此)。除了已存在的插件外,我还能确切地找到 什么?插件文件名,还有其他内容吗?

But on Firefox (and I think other NPAPI browsers) you can check for installed plugins and get the DLL name, etc (on Windows at least). What exactly can I find out about installed plugins other than if it exists? Plugin file name, anything else?

编辑:而且,可以 IE支持 any 查询插件而无需创建的方式实例,在较新的版本中?

edit: And, does IE support any way of querying plugins without creating an instance, in newer versions?

推荐答案

对于Gecko,属性为在MDN上列出。在WebKit上,您只有MDN上标有 DOM 0 的标签(尽管也有人建议将版本信息添加到WebKit中)。

For Gecko, the properties are listed on MDN. On WebKit, you only have the ones labeled DOM 0 on MDN (although there is a proposal to add the version info to WebKit as well).

这篇关于查询浏览器插件的存在/版本/等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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