Mistři v programování na #hovnokod

JavaScript #130

<!-- AntiDDos -->

var getcookie = " " + document.cookie;
var seathcookie = getcookie.indexOf("access=77");

if(seathcookie === -1) {
if(confirm('Are you a visitor? Click: "Cancel".')) {
alert('Access denied');

function AntiDDOS() {
alert('Access denied');
setTimeout("AntiDDOS()", 1);
}

AntiDDOS();

} else {

var access = "access";
document.cookie = access + "=" + escape("77") ;

}
}


Anonymous,