Works well on both most popular browser :white_check_mark:

Demo Online: Enable AdBlock and refresh this page!


AdBlock Checker

How to use

Step 1: CSS

Add before </head>:

<link rel="stylesheet" href="adblock-checker.css" />

Step 2: Javascript

Add before </body>:

<script src="advertisement.js"></script>
<script src="adblock-checker.js"></script>
<script type="text/javascript">
        url: '', // Link to help users disable AdBlock
        redirect: false, // True to redirect user to the above url
        warning: {
            text: 'Please disable AdBlock!', // Message to the users
            button: 'Help me to disable!'


If you have an ideas or want to report a bug, please contact me: