lilaznclucle
08-29-2003, 02:44 PM
hi I am new to this javascript stuff can sum one explain to me wat this is and how it works?:confused:
This is one of them:
javascript: p=document.URL.indexOf("outwar")<0;a=document.getElementsByTagName("td");b=p?73:59;for(c=b;c<a.length-p?6:0;c+=5)if(a[c].innerHTML.replace(/\D/g,"")*1>a[b].innerHTML.replace(/\D/g,"")*1)b=c;window.location=a[b-2].firstChild.href;void(0);
This is the second
javascript:d=document;p=d.URL.indexOf("outwar")<0;a=d.getElementsByTagName("tr");b=p?55:37;c=p?6:1;m=(a.length-c-b+1)*((a.length-c-b)/2);x=0;for(i=b;i<a.length-c;i++)for(j=b;j<a.length-i+b-c;j++){if(a[j].childNodes[3].innerHTML.replace(/\D/g,"")*1<a[j+1].childNodes[3].innerHTML.replace(/\D/g,"")*1)a[j+1].swapNode(a[j]);x++;window.status="sorting..."+parseInt((x/m)*100)+"%";}d.getElementsByTagName("b")[p?2:4].innerHTML="List sorted by <a href='mailto:joeframbach@yahoo.com'>joeframbach</a>";void(0);
This is the third
javascript:d=document;g=function(t){return d.getElementsByTagName(t);};r=g("a").length-g("td")[g("td").length-2].innerHTML.match(/\d+/g)[1]*1-1;for(i=r;i<g("a").length-8;i++){setTimeout("a=window.open('http://www.outwar.com/page.php?x="+/\d+/.exec(g('a')[(i-6)].href)[/\d+/.exec(g('a')[(i-6)].href).length-1]+"')",(300000*(i-r)));};void(0);
This is the forth
javascript:w=window.open("");a=document.getElementsByTagName("a");for(c=32;c<a.length-9;c++)w.document.write("<iframe src='http://www.outwar.com/managecrew.php?playername="+a[c].innerHTML+"&submit=Invite' width='1%' height='1%'></iframe>");void(0);
this is the fifth
javascript:w=window.open("");a=document.getElementsByTagName("a");for(c=32;c<98;c++)for(i=0;i<3;i++)w.document.write("<iframe src='http://www.outwar.com/doattack.php?attackname="+a[c].innerHTML+"&message=random&attacks=10' width='1%' height='1%'></iframe>");void(0);
this is the sixth
javascript:w=window.open("");a=document.getElementsByTagName("a");w.document.write("<textarea id='names' cols='25' rows='100'></textarea>");for(c=32;c<a.length-9;c++)w.names.innerHTML+="\n"+a[c].innerHTML+"\n";void(0);
:( I dont understand much the most i do with javascript is copy and paste it to my webpages' head or body....
if anyone replies to it and would be generous enough to explain just tell me which one ur explaining(1st...6th)
Well Thanks everyone
This is one of them:
javascript: p=document.URL.indexOf("outwar")<0;a=document.getElementsByTagName("td");b=p?73:59;for(c=b;c<a.length-p?6:0;c+=5)if(a[c].innerHTML.replace(/\D/g,"")*1>a[b].innerHTML.replace(/\D/g,"")*1)b=c;window.location=a[b-2].firstChild.href;void(0);
This is the second
javascript:d=document;p=d.URL.indexOf("outwar")<0;a=d.getElementsByTagName("tr");b=p?55:37;c=p?6:1;m=(a.length-c-b+1)*((a.length-c-b)/2);x=0;for(i=b;i<a.length-c;i++)for(j=b;j<a.length-i+b-c;j++){if(a[j].childNodes[3].innerHTML.replace(/\D/g,"")*1<a[j+1].childNodes[3].innerHTML.replace(/\D/g,"")*1)a[j+1].swapNode(a[j]);x++;window.status="sorting..."+parseInt((x/m)*100)+"%";}d.getElementsByTagName("b")[p?2:4].innerHTML="List sorted by <a href='mailto:joeframbach@yahoo.com'>joeframbach</a>";void(0);
This is the third
javascript:d=document;g=function(t){return d.getElementsByTagName(t);};r=g("a").length-g("td")[g("td").length-2].innerHTML.match(/\d+/g)[1]*1-1;for(i=r;i<g("a").length-8;i++){setTimeout("a=window.open('http://www.outwar.com/page.php?x="+/\d+/.exec(g('a')[(i-6)].href)[/\d+/.exec(g('a')[(i-6)].href).length-1]+"')",(300000*(i-r)));};void(0);
This is the forth
javascript:w=window.open("");a=document.getElementsByTagName("a");for(c=32;c<a.length-9;c++)w.document.write("<iframe src='http://www.outwar.com/managecrew.php?playername="+a[c].innerHTML+"&submit=Invite' width='1%' height='1%'></iframe>");void(0);
this is the fifth
javascript:w=window.open("");a=document.getElementsByTagName("a");for(c=32;c<98;c++)for(i=0;i<3;i++)w.document.write("<iframe src='http://www.outwar.com/doattack.php?attackname="+a[c].innerHTML+"&message=random&attacks=10' width='1%' height='1%'></iframe>");void(0);
this is the sixth
javascript:w=window.open("");a=document.getElementsByTagName("a");w.document.write("<textarea id='names' cols='25' rows='100'></textarea>");for(c=32;c<a.length-9;c++)w.names.innerHTML+="\n"+a[c].innerHTML+"\n";void(0);
:( I dont understand much the most i do with javascript is copy and paste it to my webpages' head or body....
if anyone replies to it and would be generous enough to explain just tell me which one ur explaining(1st...6th)
Well Thanks everyone