Uncategorized

Anti-Ad Blocker 2018 For Your Website/Blog

If You are a webmaster or blogger and you have insert advertisements in your website. The visitors installed Ad blocker extension in their browsers then warn them and add the following anti ad blocker script to your website and blog. Say Good Bye to Ad Blocker and Earn Non Stop from your advertisements. This is gift for you because many website offer Anti-Ad Blocker but they don’t work proper on websites/blog. This Anti-Ad Blocker is checked by us.

Anti-Ad Blocker Script

<style>
#adwarnouter
{
position: fixed!important;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 9999;
background: #000;
color: yellow;
opacity: 0.8;
text-align: center;
display:none;
padding-top:70px;
}
</style>

<script src='https://code.jquery.com/jquery-2.1.3.min.js' type='text/javascript'/>
<script type='text/javascript'>
      /*<![CDATA[*/
$(document.body).append('<div id="gpageloader">Loading...</div>');$(window).on("beforeunload",function(){$("#gpageloader").fadeIn(1000).delay(6000).fadeOut(1000)});/*]]>*/
    </script>
<script type='text/javascript'>

    setTimeout(function() {
      if ( typeof(window.google_jobrunner) === &quot;undefined&quot; ) {
        $(&#39;#adwarnouter&#39;).show();
        var i=30;
var myVar = setInterval(function(){ 
if(i==0)
{
$(&#39;#adwarnouter&#39;).hide();
 clearInterval(myVar);
 }
 $(&#39;#msec&#39;).html(i);
i=i-1;
 }, 1000);
        
      } else {
        console.log(&quot;no ad blocking found.&quot;);
      }
    }, 10000);  

</script>
<div id='adwarnouter'><div>Ad Blocker Found. Please Disable Ad Blocker OR Wait for <span id='msec'>30</span> Seconds...</div><img class='mt10' src='http://3.bp.blogspot.com/-npArvNhz-BM/VkRgem8S0DI/AAAAAAAAFDk/5V0p6kDrdCY/emoji_gapps_ad.png'/></div>

How to Install?

1. Go to Blogger Layout
2. Click on Add a Gadget
3.Now Click on HTML/JavaScript
4. Click on Save
OK Done!
If You have any question or suggestion feel free to contact us. Happy Blogging 2016

Related Articles

Back to top button
close