iblock-ublock
v1.0.4
Published
[![Stars](https://img.shields.io/github/stars/interaapps/iBlock-uBlock.svg)](https://github.com/interaapps/iBlock-uBlock)
Downloads
2
Readme
iBlock-uBlock
iBlock-uBlock is an open source AdBlockDetector written in typescript
- easy to use
- declare methods on detection and run
Installation
NPM
npm i iBlock-uBlock
Yarn
yarn add iBlock-uBlock
Usage
const iBlockUBlock = new IBlockUBlock({
onDetected(): void {
// adblocker detected
},
onNotDetected(): void {
// no adblocker detected
}
});
iBlockUBlock.run();
Maintainers
This project is mantained by: | Avatar | Contributor | |---|:---:| | | DatLag |
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push your branch (git push origin my-new-feature)
- Create a new Pull Request
License
View full license here. In short:
Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.