How to check with Javascript if a Firefox 3 Add-on / Extension is installed

a 夏天 提交于 2019-11-29 16:06:36

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.

Please see this url. http://www.guyfromchennai.com/?p=104 This is worked for me

There are other ways they could be detecting AdBlock+. It could tell that you never loaded the ad with some server side code and assume you're using it, maybe?

Or if the ad is flashed based, javascript could try to communicate with it first.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!