Skip to content
Simple Javascript-based Adblocker software using ad detection against ad blockers.
HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md
README.md
ads.js
your_file.html

README.md

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.

You can’t perform that action at this time.