Does any one has a good way to detect adblock and deny access the visitors?

This site >> http://adblockdetector.com/ is abit stupid, because they can't detect me using it.

Someone over at DP has a good idea about chekcing the height within a DIV(where ads are), if the DIV height is 0 or etc. An error will show. This is the code, but i tried it and is not working. Can someone fix it?

Code: 
<div id="ads_left">
<--ad code goes here-->
</div>


Now at the bottom of my site I put this script :

<script type="text/javascript">
var ads = new Array('ads_left');
var msg = 'message goes here';

onload=function() {
    for(i in ads){
        el = document.getElementById(ads[i]);
        if(el){
            if (el.offsetHeight == 0){
                el.innerHTML = msg;
            }
        }
    }
} 
</script>
kohkindachi Reviewed by kohkindachi on . Detecting AdBlock Script? Does any one has a good way to detect adblock and deny access the visitors? This site >> http://adblockdetector.com/ is abit stupid, because they can't detect me using it. Someone over at DP has a good idea about chekcing the height within a DIV(where ads are), if the DIV height is 0 or etc. An error will show. This is the code, but i tried it and is not working. Can someone fix it? <div id="ads_left"> <--ad code goes here--> </div> Rating: 5