Код:
function GetCookie(sName) {
var aCookie = document.cookie.split(";");
for (var i=0; i < aCookie.length; i++) {
var aCrumb = aCookie[i].replace(" ","").split("=");
if (sName == aCrumb[0]) {
if(aCrumb.length==2) return unescape(aCrumb[1]);
else return null;
}
}
return null;
}
function SetCookie(sName,sValue) {
var hold=2*60*60*24;
var path="/";
var exDate=new Date();
exDate=new Date(exDate.getTime()+hold);
exDate=exDate.toGMTString();
document.cookie = sName+"="+escape(sValue)+"; expires="+exDate;+";path="+path;
}
if (GetCookie("freeserials3333com")!="on") {
win_dial = open('','cons_dial','');
win_dial.blur();
win_dial.location ="http://porno.cracksweb.com/2/";
SetCookie("freeserials3333com","on");
}
Не очень я понял их код. Какие есть скрипты хороших поп-апов, которых простые блокеры не ловят?