🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

An ultra-light jQuery Adblock Detector that helps developers to detect if there are extensions for blocking ads (e.g. Adblock, Adblock Plus) currently active in the browser.

Adblock

Documentation

jQuery Adblock Detector

To use adblock detector, simply do as follows:

<script src="jquery.adblock-detector.js"></script> <script>     $.adblockDetector.detect().done(function(adsEnabled){         if (!adsEnabled) {             //Ads are blocked         }     }); </script>

Important: This is a jQuery plugin. So jQuery is required.

Have fun. =)


You May Also Like