Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

adblock-checker

magiclen878MIT0.2.4TypeScript support: included

Check if the current web browser has any ad blockers (AdBlock, Adblock Plus, uBlock, AdGuard, ...) enabled.

adblock, detect, ublock, adguard, adblocker

readme

AdBlock Checker

CI

Check if the current web browser has any ad blockers (AdBlock, Adblock Plus, uBlock, AdGuard, ...) enabled.

Usage

import { checkAdBlock } from "adblock-checker";

console.log(await checkAdBlock()); // true or false

Usage for Browsers

Source

Demo Page

License

MIT