How to Install Anti Adblock Script Code on Blog

Here’s how to add or install an anti-advertising code (script) (Adblock/AddBlocker) on a blog. This Anti Adblock Script Code aims for your blog to appear intact when opened by a user who activates an ad-blocking add-on/application in the browser (Mozilla Firefox & Google Chrome).

Adblockers are the main enemy of bloggers who put Google or Chitika ads etc on their blogs. If the user installs this anti-advertisement in his browser, then the ad does not appear and of course it is detrimental to bloggers and Google.

Adblocker is an addon or plugin in Mozilla Firefox and Google Chrome that functions to block or block the appearance of ads on blogs or websites.

A good blogger, in solidarity with fellow bloggers, will certainly not install an adblocker. Even users who understand will not install it because activating an adblocker will cause the blog/web that they open does not appear intact.

How to Install Anti Adblock Script Code on Blog
There are two codes and their install events:

  1. Ask the user to disable or disable an add-on, application, or anti-advertising software (AddBlocker).
  2. Forcing users to disable adblockers if they still want to open our blog that has ads (Google Adsense).

How to Install the #1 Anti Adblocker Code

Click “Template” and “Edit HTML”.

1. Copy the following code above the code ]]>

#swp_noadblocker { display:none;}

2. Copy the following code above the code

*** Writing in red can be changed according to your wishes.

3. Copy the following code above

4. Save Templates!

How to Install Anti Adblocker Code #2

1. Layout > Add a Gadget > HTML/Javascript
2. Copy the following code in the “Content” column.


left:0;width:100%;height:100%;background-color:#fff;opacity:0.9;filter:alpha(opacity=90);display:block}#g207 p{opacity:1;filter:none; font:bold 16px Verdana,Arial,sans-serif;text-align:center;margin:20% 0}#g207 pa,#g207 pi{font-size:12px}#g207 ~ *{display:none}

Please enable JavaScript!
Bitte aktiviere JavaScript!
S’il vous plaît activer JavaScript!
Por favor,activa el JavaScript!