As someone viewing websites on the web, ad-blockers filter out adverts for “enhancements”, and a bunch of flashing, ugly advertisements. Not only this, but ad-blockers can help protect you from potentially sneaky and malicious code.
This is why one of the most popular downloads for Firefox is an ad-blocking extension.
However, have you thought about the reverse? What about the effect ad blockers have on your website or the sites you design for clients?
Is my coding style or design choices limiting what’s viewable to visitors because it’s being incorrectly identified as advertising content by ad-blockers?
Choose Your Class and ID Names Carefully
You may reason, “I don’t have to worry about ad-blockers because I don’t have any advertisements on my website”.
But do you really have to reason for concern?
While you may not have a single ad on your site, the names you give your classes and ID’s matter.
Classes and ID’s containing keywords like banner, ban, ad, advertisement, etc may get flagged incorrectly by a visitor’s ad-blocking plugin.
Important sections of information could never appear on the screen because of this.




You should
