Skip to content

asymptotee/adblock-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

antiadblock

Connection instructions

  1. Add script.js and showads.js to the root folder of the site, include in the tag showads.js and script.js
  2. In script.js add what should happen when the user has AdBlock enabled

Warning: If the script does not work, then change the link in showads.js to the one that is blocked by adblock on your site

Try to add a < noscript > tag to the site, what will be in it will be displayed to those who have disabled JS. (Protection does not work without JS)

About

AdBlock security

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published