[Script No legal] Me pueden verificar, el script

DeletedUser733

Guest
Hola buenas, alguien me puede verificar si éste script, es legal?

javascript:coords=' ............... '; var doc=(window.frames.length>0)?window.main.document:document; url=document.URL; if(url.indexOf('screen=place')==-1)alert('Para ejecutar el script necesitas estar en la Plaza de Reuniones'); coords=coords.split(' '); index=0;farmcookie=document.cookie.match('(^|;) ?farm=([^;]*)(;|$)'); if(farmcookie!=null)index=parseInt(farmcookie[2]); if(index>=coords.length)alert('Ultimo Pueblo'); if(index>=coords.length)index=0; coords=coords[index]; coords=coords.split('|'); index=index+1; cookie_date=new Date(2099,11,11); document.cookie ='farm='+index+'; expires='+cookie_date.toGMTString(); doc.forms[0].x.value=coords[0]; doc.forms[0].y.value=coords[1]; spear = parseInt(doc.forms[0].spear.nextSibling.nextSibling.innerHTML.match(/\d+/)); sword = parseInt(doc.forms[0].sword.nextSibling.nextSibling.innerHTML.match(/\d+/)); axe = parseInt(doc.forms[0].axe.nextSibling.nextSibling.innerHTML.match(/\d+/)); spys = parseInt(doc.forms[0].spy.nextSibling.nextSibling.innerHTML.match(/\d+/)); light = parseInt(doc.forms[0].light.nextSibling.nextSibling.innerHTML.match(/\d+/)); heavy = parseInt(doc.forms[0].heavy.nextSibling.nextSibling.innerHTML.match(/\d+/)); rams = parseInt(doc.forms[0].ram.nextSibling.nextSibling.innerHTML.match(/\d+/)); cats = parseInt(doc.forms[0].catapult.nextSibling.nextSibling.innerHTML.match(/\d+/)); if(spear!=0)doc.forms[0].spear.value = 0; if (sword!=0)doc.forms[0].sword.value = 0; if(axe!=0)doc.forms[0].axe.value = 0; if (spys!=0)doc.forms[0].spy.value = 1; if(light!=0)doc.forms[0].light.value = 0; if (heavy!=0)doc.forms[0].heavy.value = 0; if(rams!=0)doc.forms[0].ram.value = 1; else if(cats!=0)doc.forms[0].catapult.value = 0; else alert('No tienes suficientes unidades!'); void(0);
 
Última edición por un moderador:
Arriba