Ad blockers - interesting note

I'm coding a new website that highlights some of my Hype-created banner selects. When I tested my site with ad blockers turned on, all of my banners were getting blocked.

The banners are embedded in the pages (not iframed) so I figured the blockers were picking up on click tags or maybe even because they're standard banner ad sizes, but nope.

By process of elimination, it turns out they were getting blocked because a couple of my CSS classes that I wrapped the banners in used the word "ad" in them. That's seems crazy, but all I did was change the class words to "digital" and the blockers don't block it. (I also tried the word "banner" instead, but they still got blocked.)

Figured I'd share this here in case it helps anyone out.

4 Likes

Thanks for sharing. You can see other blocked DIV classes and IDs here:

These are pulled in from lists like the ones that ad blockers like UBlock uses: https://github.com/gorhill/uBlock/blob/de1ed2c519a9987411199db831fdd0ce38fd48c1/assets/assets.json#L109

Great link, I had no idea. I always figured they were more sophisticated than scraping classes.