Graphic Bar
Graphic Bar

Anti-Adblock V2

TESTING SYSTEM: Anti-Adblock Test

This script has been enhanced from a previously released script by D3xt3r.

It is covered under Veltx Works guidelines.

This script allows you to block most ad-block users from viewing pages with ad-block enabled.

If they use ad-block the script will display a notification (that you can modify) to the user asking to disable ad-block, or purchase upgrade to view no ad's.
This system functions using Javascript and Standard CSS, if the user has Javascript disabled (Very Rare) the script will automatically assume the does not have ad-block enabled, and should display the page normally.

Page doesn't fully block when a user uses ad-block.

* Its possible that you have a error in your HTML, where </span> appears more than once for a <span> section. Please fix this. Or modify the last line of code to use <div... instead of <span...

This script is not completely fool-proof. But should work 95% of the time for all ad-block users. There are possibilities where this script will not function. Here are a few reasons...

* The users browser is too old. They may need to upgrade their browser.
* The user has Javascript disabled, thus the system would act as if they have no ad-block software running.
* Their ad-block software is not very sophisticated, and doesn't attempt to block all ad's. Maybe only some.

* Copy and paste CODE_A directly below <body> on any page you wish the system to function. (Modify Display if you wish)
* Copy and paste CODE_B directly into a blank text file. Name this text file "advertisement.js" and place in the root folder of your server.

<!-- Anti-Adblock V2 -->
<!-- By D3xt3r -->
<!-- Please Do Not Remove Tag -->
<!-- -->

<style type="text/css">
#blockblockA {position:absolute;top:0px;left:0px;background-color:#000000;width:100%;height:100%;}
#blockblockA td {text-align:center;width:100%;height:100%;}
#blockblockA td p {font: bold 20px Verdana;color:#ffffff;}
#blockblockA td div {font: bold 13px Verdana;color:#ffffff;}
#blockblockB {visibility:invisible;display:none;}
#linkA {font: bold 13px Verdana;color:#ffffff;}

<style type="text/css">
#blockblockA {visibility:invisible!important;display:none!important;}
#blockblockA td {visibility:invisible!important;display:none!important;}
#blockblockA td p {visibility:invisible!important;display:none!important;}
#blockblockB {visibility:visible!important;display:block!important;}

<script type="text/javascript" src="/advertisement.js"></script>

<table id="blockblockA"><tr><td>


<p>Please Disable Ad-Block To View This Website.</p>


<!-- Do Not Remove Unless Purchased Please -->
<div id="linkA" align="right">By <a href="">D3xt3r</a></div>
<!-- Do Not Remove Unless Purchased Or Testing Please -->


<span id="blockblockB">

document.write('<style type="text/css">#blockblockA {visibility:invisible!important;display:none!important;}#blockblockA td {visibility:invisible!important;display:none!important;}#blockblockA td p {visibility:invisible!important;display:none!important;}#blockblockB {visibility:visible!important;display:block!important;}</style>');
Website Design & Implementation By D3xt3r
1,666,103 Hits
7 Users Online
Load 0.142 Secs
Powered with SQL & X.D.D
veltx veltix d3xt3r d3x dex dexter