/CanRunAds

Simple Javascript-based Adblocker software using ad detection against ad blockers.

Primary LanguageHTMLMIT LicenseMIT

CanRunAds

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.

Project Setup

How do I, as a developer, implement this script on my website?

  1. Load the script as you would loading an external javascript file.
  2. Use javascript (if CanRunAds()) to perform actions based on adblocker status

Example

You can view the your_file.html for an example of implementation.

License

The license for this project is MIT.

Project Page

You can view the Project Page from this repository, here.

Example

Please see your_file.html for an example.