Skip to content

matejlednar/adsblockerdetector

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Ads Blocker Detector

Complex ads blocker detection util

  • user can set message in one or more languages
  • user can display one or all defined messages
  • user can remove content and display only message
  • user can decide for internal or external CSS usage
  • user can only detect ads blocker and use own action
  • user can set own autostart timer, default time is 1s

How to use Ads Blocker Detector

<script src="path\to\adsblockerdetector.js"><script>

Configure Ads Blocker Detector via _abc.set(property, value). You will have 1 second time for own configuration. After 1s Ads Blocker Detector starts work. You can change this timer via configuration.

If you find a bug, please report it.

User can style default message via abd-message CSS class.

Dependencies

jQuery library is required.

Version 2.0

_abd.init(); // runs Ads Blocker Detector

timeout was increased to 1.5s (mobile devices latency problem)

Releases

No releases published

Sponsor this project

Packages

No packages published