Building a simple “Anti Adblock” script

Posted September 5th, 2009 in Monetisation, Tutorials

AdBlock detector tutorial

There seems to be a growing trend amongst webmasters of adding so called “anti adblock” scripts to their site to disable access to users using adblocking software. A lot of these scripts however require lots of javascript or server side code, in this blog post we’ll highlight a way of detecting adblocking software in just a few lines of javascript!