Skip to content

fsodic/Simple-AdBlocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Block adblocker Extension or etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published