Adblock 插件名称检测
Adblock Addon Name detection
有没有办法检测用户使用的是哪个 Adblock 插件?
例如。 "Adblock Plus"、"uBlock"、"Ghostery"。
我看到有很多脚本可以检测 AdBlock 是否打开或关闭,但到目前为止我没有找到任何告诉使用的插件。
我认为没有办法检测特定的 AdBlock 插件。
我唯一能想到的方法,就是拿他们的blacklists
,找出彼此之间的区别,然后尝试模拟特定的block
,这在他们的blacklist
中是独一无二的,以区分他们之间。
when you open a page, adblocker looks at what (mostly JavaScript files) and domains are on its blacklist. Every time your browser will try to load one of these scripts or from one of the listed domains, the blocker will stop your browser from loading that and as a result, the ads will not be loaded and also not displayed.
有没有办法检测用户使用的是哪个 Adblock 插件? 例如。 "Adblock Plus"、"uBlock"、"Ghostery"。 我看到有很多脚本可以检测 AdBlock 是否打开或关闭,但到目前为止我没有找到任何告诉使用的插件。
我认为没有办法检测特定的 AdBlock 插件。
我唯一能想到的方法,就是拿他们的blacklists
,找出彼此之间的区别,然后尝试模拟特定的block
,这在他们的blacklist
中是独一无二的,以区分他们之间。
when you open a page, adblocker looks at what (mostly JavaScript files) and domains are on its blacklist. Every time your browser will try to load one of these scripts or from one of the listed domains, the blocker will stop your browser from loading that and as a result, the ads will not be loaded and also not displayed.