Internet Explorer 插件和网站

发布于 2024-09-19 11:48:17 字数 54 浏览 2 评论 0原文

网站是否能够确定特定的 IE 插件是否已安装?

如何让网页检测到 IE 插件?

Is the website able to determine if a particular IE add on has been installed or not?

How do you have the web page detect the IE add on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

萌化 2024-09-26 11:48:18

一般来说,不会;但这取决于附加组件的作用。如果它以某种方式修改了网页(例如删除广告),那么应该可以使用 Javascript 来检测当前页面是否已被修改。

In general, no; however it depends on what the add-on does. If it modifies the web page in some way (e.g. removing ads) then it should be possible to use Javascript to detect if the current page has been modified.

2024-09-26 11:48:18

如果插件可通过 Javascript/ActiveX 接口使用,则可以通过捕获调用某些(缺少的)插件函数的异常来检查其缺席情况。

这样,检查一些常见的插件就会产生很好的浏览器指纹识别方法。
请参阅:http://www.informatica64.com/Wbfingerprinting/

If the addon is available via Javascript/ActiveX interface, its absense may be checked by catching an exception on calling some (missing) addon's function.

This way, checking for few common addons leads to nice browser's fingerprinting method.
Refer to: http://www.informatica64.com/Wbfingerprinting/

情徒 2024-09-26 11:48:18

毫无疑问,您可以通过 JavaScript 检测到大部分内容;它是特定于插件的。

No doubt you can detect most through JavaScript; it'd be addon-specific.

雾里花 2024-09-26 11:48:18

在 IE 中,只需从附加组件中公开 Active X 控件,然后在 Javascript try {} 块内使用 new ActiveXControl() 实例化它。如果成功,则您的扩展已安装。如果失败了,可能不会。您甚至可以公开 .version() 方法来获取控件的版本。

In IE just expose an Active X control from your add-on, and then instantiate it using new ActiveXControl() inside a Javascript try {} block. If it succeeds, your extension is installed. If it fails, probably not. You can even expose a .version() method to get the version of the control.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文