Let's Create Something Extraordinary!

WebGate is not just a design studio; we are your partners in digital transformation. Whether you're launching a new web application, revitalizing your brand, or adapting to the mobile era, we have the expertise to bring your vision to life. Ready to elevate your online presence?

Share on Facebook Share on Twitter

Adblock blocks the site's own banners

Adblock blocks the site's own banners thumb

I encountered a problem - my own site's advertising, i.e., banners that link to internal sections of a client's site, were blocked by the Adblock browser extension. Researching the issue yielded discouraging results:

  1. Google, Yandex, Amazon "sponsor" Adblock to ensure it does not block their ads.
  2. There is a "whitelist" of sites whose ads may not be blocked, and to get on it, one must submit an application and wait for its review. There are also requirements for ads to be considered "non-intrusive".
  3. Bloggers have long been struggling with this issue, and for now, have devised a JavaScript alert in the style of "please disable Adblock on our site because we earn money from advertising!"

I experimented with image height since the advertising requirements stated, "advertising materials should not occupy more than 30% (out of 100%) of the screen height shown," but it did not help.

What solved the situation was removing "stop" words like "banner" from the HTML code of the banner, for example:

<a href="172.html"><img src="static/templates/nd/img/banner/dolce-gustobaner.jpg"></a>

It became:

<a href="172.html"><img src="static/templates/nd/img/b/dolce-gustobaner.jpg"></a>

After this, Adblock stopped blocking the banners.

You might also like