Re:Axel Springer bans adblock users from Bild online
by boyter on Sunday October 18, 2015 @03:26PM
(#10409420)
I was wondering about this the other day and thought someone here might know. How does one even determine if an ad blocker is running?
[ Parent
| on HN ]
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.