Re:Axel Springer bans adblock users from Bild online
by putlake on Sunday October 18, 2015 @03:29PM
(#10409429)
An easy way to detect is to see if an ad div is visible and > 0px tall.
Edit: Clarification: Most ad blockers collapse the divs where ads would have appeared. That's the tell I use to detect ad blockers. There are other, more sophisticated techniques but this is easy and works a good % of the time.
Edit: Clarification: Most ad blockers collapse the divs where ads would have appeared. That's the tell I use to detect ad blockers. There are other, more sophisticated techniques but this is easy and works a good % of the time.