How To Install Anti AdBlock Killer In Blogger - Onet4u Tech

How To Install Anti AdBlock Killer In Blogger

How To Install Anti AdBlock Killer In Blogger

AdBlock is an application for blocking ad sources on web browsing. AdBlock is usually an extension that is installed on the browser. Now with the existence of Adblock, it can reduce the productivity of advertisements. Later, the revenue sourced from the ads will be reduced because the ads will be blocked and become invisible. Of course, this is very unwanted by blog users, especially for those who earn income from advertising. Well here we will discuss how to overcome this problem

How To Install Anti AdBlock Killer In Blogger


So friends, by installing this anti-Adblock killer when visitors who use Adblock are visiting friends' blogs later, the appearance of your friend's blog will be blank / the content that visitors are looking for will not be visible, so this forces visitors to disable the Adblock they install. That way the ads that are on your friends' blog will still be visible and will not be blocked by Adblock. Here's how to install it:

Installing Anti AdBlock Killer In Blogger
First, log in on Blogger, then open Blog that you want to install Anti AdBlock Killer.

 First Add this code before </body>
<script type="text/javascript">
//<![CDATA[
// Lazy Load AdSense & adsblocker killer
var lazyadsense=!1;window.addEventListener("scroll",function(){(0!=document.documentElement.scrollTop&&!1===lazyadsense||0!=document.body.scrollTop&&!1===lazyadsense)&&(!function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://rawcdn.githack.com/Indzign/InSEO/39bc7f20/levelmaxblock.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(e,a)}(),lazyadsense=!0)},!0);
//]]>
</script>
Then add this CSS code to your CSS style
/* Adblock */
#levelmaxblock{background:rgba(21,21,21,0.45);position:fixed;margin:auto;left:0;right:0;top:0;bottom:0;overflow:auto;z-index:999999;animation:fadeInDown 1s}#levelmaxblock .header{margin:0 0 15px 0}#levelmaxblock .header h2{color:#222}#levelmaxblock .inner{background:#fff;color:#222;box-shadow:0 5px 20px rgba(0,0,0,0.1);text-align:center;width:100%;max-width:640px;padding:30px;margin:7% auto 2% auto}#levelmaxblock button{padding:10px 20px;border:0;background:#333;color:#fff;margin:20px 5px;cursor:pointer;transition:all .3s}#levelmaxblock button:hover{background:#222;color:#fff;outline:none}#levelmaxblock button.active,#levelmaxblock button:hover.active{background:#e74c3c;color:#fff;outline:none}#levelmaxblock .caranya{background:#fff;text-align:left;color:#000;padding:20px;height:250px;overflow:auto;line-height:30px;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}
@media(max-width:768px){#levelmaxblock .inner{width:calc(100% - 20px);margin:10px auto;padding:15px}}
Old Meta (work perfect) Add this code on your widget.
<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:#FF0000;color:#fff;opacity:0.9;filter:alpha(opacity=90);display:block}
#g207 p{opacity:1;filter:none;font:bold 18px Verdana,Arial,sans-serif;text-align:center;margin:20% 0}
#g207 p a,#g207 p i{font-size:12px}
#g207 ~ *{display:none}
t</style>
<noscript><i id=g207><p>Please enable 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 the 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>
DOne save your template Thanks, O4U Theme.

Related Posts

Author

Author
Don’t settle for something you do not enjoy, it is up to you to do better and create the life you want to live!

Comment

The owner of this blog reserves the right to edit or delete any comments submitted to the blog without notice.
Load Comments

Subscribe to Free Articles ...