27 Aug 2008

Detecting Adblocker Software

DailyKos, a popular political blog, displays this warning if you use Adblock Plus.

Adblocker

Normal users don’t see this message as the HTML element is hidden via CSS.

http://www.dailykos.com/css/adblocker.blogads.css

Ironically, Adblock Plus “unblocks” this message by blocking the CSS file (since it contains the pattern .blogads.)