There is no argument that adblockers on web browsers provide a clean web page for readers on the web. Internet users no longer want adverts popping up here and there to distort their reading experience.
Adverts were well tolerated in the past, with less than 20% of web users using ad-blocking software. However, ad-blocking software can now easily be used on all platforms. The number has since risen to 25%, a projected increase.
I was a user of ad-block software. But things soon changed when I took the time to single-handedly develop my website, wrote articles, and obtained approval from Google AdSense to begin showing ads.
But there was a problem: I was just a startup site; how would I have some earnings from Adsense to support my site from unconstructive advertising? I had to look for a way to kindly inform my visitors to temporarily disable their adblockers while browsing my website.
It is challenging to see plugins on blogger that offer this functionality. But there is good news. I will show you how to block adblocker users who access your blogger site.
Method 1: By Adding AdBlock Script on Blogger Using HTML Gadget
<style>#g207{position:fixed!important;position:absolute;top:0;top:expression
((t=document.documentElement.scrollTop?document.documentElement.scrollTop:document
.body.scrollTop)+"px");
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 p a,#g207 p i{font-size:12px}#g207 ~ *{display:none}</style><noscript><i id=g207><p>Please enable JavaScript!<br />Bitte aktiviere JavaScript!<br />S'il vous plaît activer JavaScript!<br />Por favor,activa el JavaScript!<br /><a href="http://antiblock.org/">antiblock.org</a></p></i></noscript><script>(function(w,u){var d=w.document,z=typeof u;function g207(){function c(c,i){var e=d.createElement('i'),b=d.body,s=b.style,l=b.childNodes.length;if(typeof i!=z){e.setAttribute('id',i);s.margin=s.padding=0;s.height='100%';l=Math.floor(Math.random()*l)+1}e.innerHTML=c;b.insertBefore(e,b.childNodes[l-1])}function g(i,t){return !t?d.getElementById(i):d.getElementsByTagName(t)};function f(v){if(!g('g207')){c('<p>Please disable your ad blocker!<br/>This site is supported by advertisement <br/> Please disable your ad blocker to support us!!! </p>','g207')}};(function(){var a=['Adrectangle','PageLeaderAd','ad-column','advertising2','divAdBox','mochila-column-right-ad-300x250-1','searchAdSenseBox','ad','ads','adsense'],l=a.length,i,s='',e;for(i=0;i<l;i++){if(!g(a[i])){s+='<a id="'+a[i]+'"></a>'}}c(s);l=a.length;for(i=0;i<l;i++){e=g(a[i]);if(e.offsetParent==null||(w.getComputedStyle?d.defaultView.getComputedStyle(e,null).getPropertyValue('display'):e.currentStyle.display
)=='none'){return f('#'+a[i])}}}());(function(){var t=g(0,'img'),a=['/adaffiliate_','/adops/ad','/adsales/ad','/adsby.','/adtest.','/ajax/ads/ad','/controller/ads/ad','/pageads/ad','/weather/ads/ad','-728x90-'],i;if(typeof t[0]!=z&&typeof t[0].src!=z){i=new Image();i.onload=function(){this.onload=z;this.onerror=function(){f(this.src)};this.src=t[0].src+'#'+a.join('')};i.src=t[0].src}}());(function(){var o={'http://pagead2.googlesyndication.com/pagead/show_ads.js':'google_ad_client','http://js.adscale.de/getads.js':'adscale_slot_id','http://get.mirando.de/mirando.js':'adPlaceId'},S=g(0,'script'),l=S.length-1,n,r,i,v,s;d.write=null;for(i=l;i>=0;--i){s=S[i];if(typeof o[s.src]!=z){n=d.createElement('script');n.type='text/javascript';n.src=s.src;v=o[s.src];w[v]=u;r=S[0];n.onload=n.onreadystatechange=function(){if(typeof w[v]==z&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){n.onload=n.onreadystatechange=null;r.parentNode.removeChild(n);w[v]=null}};r.parentNode.insertBefore(n,r);setTimeout(function(){if(w[v]!==null){f(n.src)}},2000);break}}}())}if(d.addEventListener){w.addEventListener('load',g207,false)}else{w.attachEvent('onload',g207)}})(window);</script>
- Copy the complete script in the code snippet above.
- Go to your blogger Dashboard.
- Select Layout.
- Click on Add gadget on the sidebar to add a new gadget. Scroll down and select HTML/ Javascript.
- Paste the script above into the content area. Do not write any title.
- Click on save. That’s all. To test its functionality, try adding your site to the ad-block list and hit refresh. Below is an example of what you will see.
Method 2: By Using an Ad block Site to Get Updated Killer Scripts
- Go to the block AdBlock site.
- Customize and download the ad-blocking script.
- Create an HTML Gadget and paste the contents into it
- Save the gadget.
- Done. Your ad-block protection should start working immediately.
Here is the result of this newest one below.
Conclusion
Ad Block scripts are constantly being updated. Make sure to come back here for more updated tutorials. If this helps you, let us know in the comment section below. Why not share the article and follow us on social media. Thanks.