Most websites today are supported by ads. It’s a great system, and it’s become the main source of revenue for many websites.
Problem is, some people block ads. They block them for several reasons, one is because some sites have really awful ads, another is they’re just an *** and don’t care.
Whatever the reason is, it’s important to get users to stop blocking ads. So, I created a set of scripts that will detect when a user has an adblocker installed and then display a message accordingly. It’s based on Erik Swan’s implementation, and you can see it in action at http://enigmaboard.com/forums.
You can download it on GitHub here: https://github.com/lucasbytegenius/Adblock-Detect
By the way, I’m really excited that I’ve finally uploaded something to github. Woot.