Anti Ad-Blocker Script for Blogger and WordPress - Grow Your Revenue

Anti Ad Blocker Script for Blogger and WordPress - Grow Your Revenue Up

Here you will find the script for Anti Ad-Blocker for your Blog / WordPress website. I will guide you that how it works and How to Install / Insert this plugin in your Blog / WordPress.
Firstly Some introduction for Anti Ad-Blocker why this is used in Blogger and WordPress websites. Today Blogger and WordPress is a way to online earning for every one and each person who works on blogger and WordPress share the some information / tricks / knowledge / and many others with the people so that people can read and work in a good way.
Online Earning:
One part of online earning is displaying ads on the website by the some ad providing companies. But many peoples don't like these ads on the website when they visiting on your site. So they install a Ad-Blocker in system Or use the script for Ad-Blocking Or add the Extension for Ad-Block. Which blocks your Ads from your website and the visitor can't see your displayed ads any more. This is a benefit for the visitor but the loss for the web poster.
So to force the visitor to disable the ad-block to view the relevant information you have used the script which displays a message on your page to Disable the Ad-Blocker. So that we can earn through this site to support more an more to website and to you. etc.

How to install the script:

1 - First of all you Login to your blogger and go on the main Dashboard and you will see the "Layout" option in the Left side pane. Click on the Layout Option.



2 - Then Layout show the page like below ( Depend on your Blogger Theme). In this page any where you would find the option " + Add a Gadget " Click on this Button " + Add a Gadget " and a new window will appear.


3 - In this Window you will see the many Gadgets to add in your blogger. Choose the " HTML/JavaScript " and click on this option. Another new window will appear.


4 - This window will show the appearance like below. Than copy the Below code and Paste it in the Content area of this window. and Title area leave blank. Than Click on Save button. You have done all the process for anti ad blocker.


<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&icirc;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 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={'https://pagead2.googlesyndication.com/pagead/show_ads.js':'google_ad_client','https://js.adscale.de/getads.js':'adscale_slot_id','https://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>


When you visit your site with "Enabled" Ad blocker a message will appear like this




Post a Comment

Previous Post Next Post