Last Updated: February 25, 2016
· akkatracker

Detect Adblocker Users jQuery

This script is designed to alert users that they are using an adblocker. With some more code you can do other stuff to them but an alert is enough for me :)

function TestPage() {
if ($('.myTestAd').height() == 0)
alert("You are blocking my beautiful adverts :'(, you moose!");