How to Add Anti Adblocker Script in Blogger blogspot Website | Adblocker Killer Script for blogger

Table of Contents

Hi Friends,
In this Tutorial, we are giving the guidelines for How to Install Anti Adblocker Script for Blogger Website. Anti Adblocker Function was the important thing for the website. because this anti-adblocker script was to protect your Adsense or Other Ad serving platform Earnings.

Because Ad blockers block all ads on your website. So, you can not earn via ads on your website. So, the only way to fix this problem you want to install the Anti adblocker script on your Blogger website. and this is the only way to protect your blogger's website from ad blockers.

What is AdBlocker?

The  Adblocker helps to block ads on the website content. So, website Visitors can easily view the web content without the Interruption of unwanted ads on the website. this is the Main Function of Adblocker Extension.

These Adblocker Extensions are good for the Visitor but not good for the Website Runners. So, Many more Website runners use the Anti Adblocker on websites to prevent Adblockers.

What is Anti Adblocker?

This Anti Adblocker was shown a popup massage for disabling adblocker and this Anti adblocker script did not allow the reading of the web content with the adblocker function. so, this Anti adblocker website prevented the Ads Revenue.

This Anti Adblocker Script was the best way to block ad blocker extensions. and you can install this Anti Adblocker very easily on your Blogger Website.

Uses of Anti Adblocker Script

This Anti Adblocker Script was Prevent your Earnings

Easy way to block the Adblocker Extention on the web browser.

Hide all your website during adblockers blocks the ads

Advantages and Disadvantages of Anti adblocker Script

This Anti adblocker script was have some advantages at the same some disadvantages.

Advantages

  1. Disable Adblockers
  2. Increase Ad revenue
  3. Fast-loading Source Code
  4. do not load without an adblocker
  5. Maximum Works all Adblocker Extention on market

Disadvantages

  1. Not works on Brave Browser
  2.  The popup Function disrupted your website visitors

How to Install Anti Adblocker Script for Blogger Step by Step

Open your Blogger Dashboard

Go to Theme Section and Click the Drop Dropdown Menu then Select the "Edit HTML" option

Now Find the </style> Tag or ]]></b:skin> Tag and Copy the Below CSS Codes Paste above on </style> or ]]></b:skin> Tag.

.popSc{position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;padding:20px;background:#f3f5fe;display:flex;justify-content:center;align-items:center}
.popSc.hidden{display:none}
.popSc .popBo{position:relative;background:#fff;max-width:400px;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px;border-radius:30px}
.popSc .popBo svg{display:block;width:50px;height:50px;fill:none !important;stroke:#08102b;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}
.popSc .popBo h2{margin:10px 0 15px 0;font-size:1.2rem;font-weight:800;color:#08102b}
.popSc .popBo p{margin:0;line-height:1.7em;font-size:0.9rem;color:#08102b}
.darkMode .popSc{background:#1f1f1f}
.darkMode .popSc .popBo{background:#2c2d31}
.darkMode .popSc .popBo svg{stroke:#fefefe}
.darkMode .popSc .popBo p, .darkMode .popSc .popBo h2{color:#fefefe}

Next, Find the </body> Tag and Copy the Below HTML code, and Paste the Above on the </body> Tag.

<div class='popSc hidden' id='antiAdBlock'>
   <div class='popBo'>
      <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
         <circle cx='12' cy='12' r='10'/>
         <line x1='12' x2='12' y1='8' y2='12'/>
         <line x1='12' x2='12.01' y1='16' y2='16'/>
      </svg>
      <h2>Ad-Blocker Detected!</h2>
      <p>Sorry, we detected that you have activated Ad-Blocker.<br/>Please consider supporting us by disabling your Ad-Blocker, it helps us in developing this Website.<br/>Thank you!</p>
   </div>
</div>
  

Next, Copy the below Javascript and paste also above on </body> Tag.

<script>/*<![CDATA[*/ /* Anti Ad-Blocker Script (Lazyload) */ var lazyAnti=!1;window.addEventListener("scroll",function(){(0!=document.documentElement.scrollTop&&!1===lazyAnti||0!=document.body.scrollTop&&!1===lazyAnti)&&(!function(){var antiAdBlock=document.querySelector("#antiAdBlock");var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";e.onerror=function(){if(antiAdBlock!=null){antiAdBlock.classList.remove("hidden");window.lazyAnti=!0}};var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)}(),lazyAnti=!0)},!0); /*]]>*/</script>
  

Click the Save Button and Save all Changes.

Now your Anti Adblocker Script for Blogger Script Installation was Successfully Finished.

Thats All..!

Final Words

This Anti Adblocker script was kill all adblockers on Browser. That means users can not read your blog content with the Adblocker extension. show this Anti adblocker blogger script was Increase your blogger Ad Revenue.

We hope this Anti Adblocker for Blogger Tutorial was very helpful to your Blogger or Blogspot website. If you like this Article please follow our Blog on Telegram Chennal and other Social Media platforms.

If you face any problem with this script please content Us. I try to guide you. 

Thanks for Reading...

Post a Comment

Spam is not welcome here. Any form of unsolicited promotional content, repeated messages, or irrelevant comments will be removed. Please contribute meaningfully to the discussion. Failure to adhere to these guidelines may result in moderation, including the possibility of being blocked. Let's keep the conversation engaging and on-topic!