Description: CanRunAds is a simple repository/script to display a quick and easy method of preventing ad blockers. The simple script allows the webmaster to perform different functions and actions on their website depending on if the user has an adblocker or not.
How do I, as a developer, implement this script on my website?
- Load the script as you would loading an external javascript file.
- Use javascript (if CanRunAds()) to perform actions based on adblocker status
You can view the your_file.html for an example of implementation.
The license for this project is MIT.
You can view the Project Page from this repository, here.
Please see your_file.html for an example.