Detect Adblocking Software On Your Site With Javascript
Detect Adblocking Software On Your Site With Javascript
Today I will teach you how to detect adblocking software on your site with little help of javascript. It works for both AdBlock and AdBlock Plus.
Let’s start-
First you need to create advertisement.js file on your hosting. It is important that it is called that way because adblocking software will triggered by it. Put this code in it:
document.write (‘<div id=”tester”>an advertisement</div>’);
View On WordPress








