Skip to content

julptk/Simple-Adblocker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 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

Languages

  • HTML 63.0%
  • CSS 36.4%
  • JavaScript 0.6%