As proof of concept for detecting Adblock, I used:
- Code: Select all
if (window._AdblockFiltered)
{
alert("You are using Adblock to block ads")
}
This only works after page element has been blocked - if no element gets blocked, this array doesn't exist.
Anyone done anything with this, seen anything done with it? [/code]