Anti AdBlock Script for Blogger / Website

Anti AdBlock Script for Blogger / Website

How to Install Anti-AdBlock Script in Blogger / Website ?

I will guide you to Install Anti AdBlock Script in Blogger. Ok, let's begin!

1). At first, go to the Blogger Dashboard / Blogger.com.

2). Go to the Themes Section and Click Edit HTML Button.

3). Copy the CSS Style given below or Stylesheet.

<!-- CSS Style -->
<style type='text/css'>
#levelmaxblock{background:rgba(34,47,62,0.67);position:fixed;margin:auto;left:0;right:0;top:0;bottom:0;overflow:auto;z-index:999999;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#levelmaxblock .header{margin:10px 0 20px 0;position:relative;top:initial;left:0}
#levelmaxblock .header h2{color:#222;font-size:1.8rem}
#levelmaxblock .inner{background:#fff;border-radius:12px;color:#222;box-shadow:0 0 2rem -1rem rgba(0,0,0,0.5);text-align:center;width:100%;max-width:640px;padding:30px;margin:7% auto 2% auto;animation:flipInX 1s}
#levelmaxblock button{position:relative;overflow:hidden;padding:6px 20px;background:#f5aa33;color:#fff;margin:20px 5px;cursor:pointer;border-radius:99em;font-size:13px;font-weight:500;border:2px solid #f5aa33;transition:initial;box-shadow:0 1px 0 rgba(0,0,0,0.01),0 5px 10px rgba(0,0,0,0.1)}
#levelmaxblock button:hover{background:#fff;color:#f5aa33;outline:0;border-color:#f5aa33}
#levelmaxblock button.active,#levelmaxblock button:hover.active{background:#ee5253;color:#fff;border-color:#ee5253;outline:0}
#levelmaxblock .caranya{background:#f7f9f8;text-align:left;color:#000;padding:20px;height:250px;overflow:auto;line-height:30px;border-radius:8px;border:1px solid rgba(0,0,0,0.05)}
#levelmaxblock .caranya div{display:none}
#levelmaxblock .caranya div.active{display:block;animation:fadeInUp .5s}
#levelmaxblock ol{margin-left:20px}
#levelmaxblock button:after,#levelmaxblock button:before{content:''display:block;position:absolute;bottom:0;right:0;left:0;height:50%;background:rgba(0,0,0,0.05);background-repeat:no-repeat;transition:all .3s}
#levelmaxblock button:before{height:0;top:0;bottom:initial}
#levelmaxblock button:hover:after{height:0}
#levelmaxblock button:hover:before{height:50%}
@media(max-width:768px){#levelmaxblock .inner{width:calc(100% - 20px);margin:10px auto;padding:15px}
</style>
OR
<!-- Stylesheet -->
<link href='data:text/css;base64,I2xldmVsbWF4YmxvY2t7YmFja2dyb3VuZDpyZ2JhKDM0LDQ3LDYyLDAuNjcpO3Bvc2l0aW9uOmZpeGVkO21hcmdpbjphdXRvO2xlZnQ6MDtyaWdodDowO3RvcDowO2JvdHRvbTowO292ZXJmbG93OmF1dG87ei1pbmRleDo5OTk5OTk7LXdlYmtpdC1iYWNrZHJvcC1maWx0ZXI6Ymx1cig2cHgpO2JhY2tkcm9wLWZpbHRlcjpibHVyKDZweCl9DQojbGV2ZWxtYXhibG9jayAuaGVhZGVye21hcmdpbjoxMHB4IDAgMjBweCAwO3Bvc2l0aW9uOnJlbGF0aXZlO3RvcDppbml0aWFsO2xlZnQ6MH0NCiNsZXZlbG1heGJsb2NrIC5oZWFkZXIgaDJ7Y29sb3I6IzIyMjtmb250LXNpemU6MS44cmVtfQ0KI2xldmVsbWF4YmxvY2sgLmlubmVye2JhY2tncm91bmQ6I2ZmZjtib3JkZXItcmFkaXVzOjEycHg7Y29sb3I6IzIyMjtib3gtc2hhZG93OjAgMCAycmVtIC0xcmVtIHJnYmEoMCwwLDAsMC41KTt0ZXh0LWFsaWduOmNlbnRlcjt3aWR0aDoxMDAlO21heC13aWR0aDo2NDBweDtwYWRkaW5nOjMwcHg7bWFyZ2luOjclIGF1dG8gMiUgYXV0bzthbmltYXRpb246ZmxpcEluWCAxc30NCiNsZXZlbG1heGJsb2NrIGJ1dHRvbntwb3NpdGlvbjpyZWxhdGl2ZTtvdmVyZmxvdzpoaWRkZW47cGFkZGluZzo2cHggMjBweDtiYWNrZ3JvdW5kOiNmNWFhMzM7Y29sb3I6I2ZmZjttYXJnaW46MjBweCA1cHg7Y3Vyc29yOnBvaW50ZXI7Ym9yZGVyLXJhZGl1czo5OWVtO2ZvbnQtc2l6ZToxM3B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2h0OjA7bGVmdDowO2hlaWdodDo1MCU7YmFja2dyb3VuZDpyZ2JhKDAsMCwwLDAuMDUpO2JhY2tncm91bmQtcmVwZWF0Om5vLXJlcGVhdDt0cmFuc2l0aW9uOmFsbCAuM3N9DQojbGV2ZWxtYXhibG9jayBidXR0b246YmVmb3Jle2hlaWdodDowO3RvcDowO2JvdHRvbTppbml0aWFsfQ0KI2xldmVsbWF4YmxvY2sgYnV0dG9uOmhvdmVyOmFmdGVye2hlaWdodDowfQ0KI2xldmVsbWF4YmxvY2sgYnV0dG9uOmhvdmVyOmJlZm9yZXtoZWlnaHQ6NTAlfQ0KQG1lZGlhKG1heC13aWR0aDo3NjhweCl7I2xldmVsbWF4YmxvY2sgLmlubmVye3dpZHRoOmNhbGMoMTAwJSAtIDIwcHgpO21hcmdpbjoxMHB4IGF1dG87cGFkZGluZzoxNXB4fQ==' rel='stylesheet' type='text/css'/>

4). Then Paste the CSS code or Stylesheet just above the </head> tag.

5). Copy the JavaScript code given below.

<!-- JavaScript Code -->
<script type='text/javascript'>
//<![CDATA[
// Say Hi to Adblock
var adblock=!1;window.addEventListener("scroll",function(){(0!=document.documentElement.scrollTop&&!1===adblock||0!=document.body.scrollTop&&!1===adblock)&&(!function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://cdn.jsdelivr.net/gh/Indzign/InSEO@master/levelmaxblock.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)}(),adblock=!0)},!0);
//]]>
</script>

6). Paste the JavaScript Code just above the </body> tag.

7). Click on Save! and you're done with installing anti adblock script in blogger.

# Note : The process of installing it on any website or page is the same.



FAQ About Adblock and Anti-AdBlock Script

What is Adblock?

Adblock is a browser feature useful for blocking the display of ads on articles being accessed. There are many reasons readers can use this feature, one of which is to prevent devices from being redirected to malicious pages.

But what about those who expect revenue from advertising? Of course it's very harmful, isn't it? But don't worry, you can take the guesswork out of it by installing Anti-Adblock.

How it works is also quite clear. Readers using this ad filter are not allowed to access the page before turning off their AdBlock. Or, readers whitelist our URLs.

Now in this post there are two types of anti-adblock for bloggers that can be used. Please select one as per the type of performance expected.

How does Adblocker work ?

First, a person downloads and runs an ad-blocking application that was formerly known as "Adblocker", a plugin or browser extension or something else. Then, that person opens their browser and visits a website.

When that webpage is loading, the ad-blocking application they download looks at the webpage and its scripts and analyzes them from a list of locations and scripts created to block them. If it finds any, it turns them off.

How do you know if your blog is affected by adblockers ?

Well, all the blogs that rely on third party ads like Adsense are already affected by ad blockers. To find out how concerned your blog is, you can compare your Google Analytics pageviews and Google AdSense pageviews. If you see a difference, you know it.

Adblocking software mainly affects blogs with technically intelligent readers as most of them are bright and use adblock software.

How does Adblock affect website owners ?

Adblock tools lead to lost income for website owners. When a user with an adblock tool visits a website, adblock blocks the website from loading ads. This means that the publisher has been denied the opportunity to submit revenue-generating clicks or impressions. As a result, website owners cannot monetize these visits.