fuckadblock

Detects ad blockers (AdBlock, ...)


Keywords
adblock, advertising, ad, block, lock, detection, detecting
License
MIT
Install
bower install fuckadblock

Documentation

FuckAdBlock

Allows you to detect those nasty ad blockers

fuckAdBlock.add(true, function() {  /* what to do in case of an ad blocker */  });
fuckAdBlock.add(false, function() {  /* what to do in case of no ad blocker */  });
fuckAdBlock.check(); // check and trigger callbacks
fuckAdBlock.removeAll(); // detach all the delegates