- Add script.js and showads.js to the root folder of the site, include in the tag showads.js and script.js
- 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)