Installation

Adblock detect is packaged as UMD libary so you can use it in CommonJS, AMD or browser environment.


            // if you use bundler
            var adblockDetect = require('{{ npmRepositoryName }}');

            // or just using browser globals
            var adblockDetect = window.adblockDetect;
        

For browser usage browse dist folder - if working with build tools go with src folder. Download library files from github repo, get them via bower (bower install {{ bowerRepositoryName }}) or via npm (npm install {{ npmRepositoryName }})