Demonstration
Ads block is detected!
Ads block is not detected!
How to use it?
1. Include this content in your footer: adblockDetector.js
2. Add this code in your html page:
Ads block is detected!
Ads block is not detected!
3. (Optional) Use this css:
#messageAdsblocker {
background-color:#F78181;
border:1px solid #DF0101;
padding:5px;
margin-bottom: 30px;
/* arrondi */
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px;
}
#messageOk {
background-color:#9FF781;
border:1px solid #31B404;
padding:5px;
margin-bottom: 30px;
/* arrondi */
-moz-border-radius:7px;
-webkit-border-radius:7px;
border-radius:7px;
}