Skip to content
Block adblocker Extension or etc.
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.
assets
README.md
index.html

README.md

Welcome to official Pages Simple AdBlocker by FSodic

  1. define variable in javascript ads, (name must containing ads, ad or etc).

Example:

var ads_check = '12233';
  1. In your javascript code on page (must inline javascript)

Example:

if(typeof ads_check !== 'undefined') { 
// adblocker is not active
} else {
// your message if adblocker active
}

Example pages: https://fsodic.github.io/Simple-Adblocker/index.html

Another Pen: https://www.fsodic.com/pen/b0

You can’t perform that action at this time.