Adblock Detect

Detects adblock

HTML

<p>Hello, there!</p>
<div id="google_ads_frame1">aa</div>

JavaScript

setTimeout(function(){
    if($("#google_ads_frame1").css('display')=="none")
    {
        $('p').after("<p>We notice that you have an active Adblocker.</p><p>Please whitelist us in your blocker for us to be able to serve you better. Thanks!</p>");
    }
},3000);