如果安装Firefox 3附加组件/扩展组件,如何使用Javascript进行检查 [英] How to check with Javascript if a Firefox 3 Add-on / Extension is installed
问题描述
但是FireFox 3是如何工作的?
我知道必须有一个解决方法,因为最近我访问了一个网站:
在进入这个网站之前,请禁用AdBlock +:($ / b>
出于安全原因,没有通用的方法来做到这一点。在那里提到的FF2版本是特定的扩展 - 你不能假设所有扩展相同的命名和放置的图标。
AdBlock-spotters斯蒂芬推测,倾向于基于行为和特定的延伸。同样Greasemonkey,spotters等。
Actually this question is based on a Blog Entry, which discusses the topic for FF2. But how does this work with FireFox 3?
I know that there must be a workaround, because recently I visited a site saying: "Please disable AdBlock+ before entering this site" :(
There's no general-purpose way to do that, for security reasons. Even the FF2 version mentioned there was specific to that particular extension -- you can't assume identically-named and -placed icons for all extensions.
The AdBlock-spotters, as Stephen presumed, tend to be behavior-based and specific to that extension. Likewise Greasemonkey-spotters, etc.
这篇关于如果安装Firefox 3附加组件/扩展组件,如何使用Javascript进行检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!