lkhrs / Adblock-Detect

A script that detects when an adblocker is enabled and displays a message of guilt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a set of scripts that will detect it when a user has enabled an adblocker and display a message.
It will also display a message when you're not blocking ads, as a sort of thank-you. This can be removed if necessary.

To install, just upload the files to your host, then include aa.js on the section of the page you want this message to appear. I usually put this under the ad, but you can put it elsewhere.

You can style it using the aa.css stylesheet, and edit the message in aadetect.js.

Thanks for downloading, and be sure to follow me on Twitter: http://twitter.com/lukelarris

http://enigmaboard.com
http://lukelarris.com

About

A script that detects when an adblocker is enabled and displays a message of guilt.


Languages

Language:JavaScript 61.0%Language:CSS 39.0%