

STOPAD AD BLOCKER CODE
Classes & IDs to Avoid for Ad Blockers when Creating Ad Blocks on your Websiteĭon't use classes and ids in your code included in EasyList if you want your Ads to show successfully on your website. To avoid such mistakes and have legitimate ads wiped from existence, it is good practice to exclude words listed in Easylist in your code. While this may seem obvious when coding a website, we often go to the most familiar form in our mark-up (#thisIsWhatMyDivRelatesTo), and it's easy to trip up at this initial step. so for example, don't use '#adBlock1' as an Id or '.advertisements' as a Class. This 'ad'-free code should be taken literally by coders, and in all instances, classes and ids should exclude advertising related words like 'ad', 'advertisement', 'offer' etc. Ad Blockers skim code, so we, therefore, need to write clean code that is 'ad free'. The code of a website is a fundamental identifier of overt online advertising, whether in the form of inline ads, interstitials, popups, timed ads, gamified ads or any other creative advertising form. The reasons behind this are both varied and complex but at least in part relate to code and content structure. So if we accept that appropriate, responsible and respectful advertising is an acceptable exchange, we might be more forgiving of a few ads nestled between content.Ī common problem for website authors and web admins is that even if Ads are relevant and often benefit users with timely value-added offers, increasingly sophisticated Ad Blockers like AdBlock Plus, AdBlock, or browsers filter the ads out. While online ads can be annoying, they may also be the basis for the ongoing provision of quality content from outside a paywall.

Monetising a website is an essential aspect of many online businesses, and an integral component of this is often advertising.
