A simple way to detect adblock
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.html

README.md

Detecting AdBlock

This is a very simple example how to detect if AdBlock is installed. It does not detect if AdBlock has been disabled or if the current site has been whitelisted, so use this carefully not to blame people that might actually have been OK with your site.