Anbu Creations
Variable
CSS
Wednesday, 30 July 2014
Multi Tool - Check Your Groups | Apps | Pages | friends
Drag and drop The Bookmarklet below into Your Browser Bookmark Bar.
Multi Tool - Check Your Groups-Apps-Pages-friends
A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands to extend the browser's functionality.
en.wikipedia.org/wiki/Bookmarklet
The Source Code
javascript:javascript:void(function() { window.aing = { sty: " style=\"background-color:rgba(255,255,255,0.5);margin-bottom:1px;border-radius:1px;color:gray;font-size:8px", styin: " type=\"text\" readonly onClick=\"this.select()\" style=\"width:80px;background-color:transparent;border:none;padding:0;color:green;font-size:8px;cursor:pointer\"", loding: { img: "
" }, aduk: function(a) { var b = a.length, c, d; while (0 !== b) { d = Math.floor(Math.random() * b); b -= 1; c = a[b]; a[b] = a[d]; a[d] = c } return a }, sisipin: function(isi, dimana, sebelum) { if (dimana) { var a = document.createElement("div"); a.innerHTML = isi; if (sebelum == null || sebelum == "") { sebelum = dimana.firstChild } while (a.firstChild) { dimana.insertBefore(a.firstChild, sebelum) } } }, masukin: function(isi, di) { if (di) { var a = document.createElement("div"); a.innerHTML = isi; while (a.firstChild) { di.appendChild(a.firstChild) } } }, kasihTau: function(isi, elementId) { var c = document.getElementById("aingcreations"); if (c) { if (elementId == null || elementId == "") { c.innerHTML = isi } else { var d = document.getElementById(elementId); if (d) { d.innerHTML = isi } else { aing.masukin("
" + isi + "
", c) } } } else { aing.masukin("
" + isi + "
", document.body) } }, html: { box: function(isi, warna, pad) { var d = "
" + isi + "
"; return d } }, kolAjak: function(i, r, l, a, n) { if (a == null || a == "") { a = "POST" } else { if (i.match(/\?/)) { i += "&" + r } else { i += "?" + r } } var h = new XMLHttpRequest(); h.open(a, i, true); h.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); h.onreadystatechange = function(c) { if (c.target.readyState == 4) { if (aing.panggilanKe) { aing.panggilanKe++ } else { aing.panggilanKe = 1 } var e = { errorSummary: "Connection error !", errorDescription: "Ajax status=" + c.target.status }; if (c.target.status == 200 || c.target.status == 400) { var d = c.target.responseText; if (d == "") { e.errorSummary = "empty callback!" } else { e = JSON.parse(d.substring(d.indexOf("{"), d.lastIndexOf("}") + 1)) } l(e, n) } else if (aing.panggilanKe < 2) { aing.kolAjak(i, r, l, a, n) } else { aing.panggilanKe = 0; l(e, n) } } }; h.send(r) }, getPren: function() { aing.myid = document.cookie.match(/c_user=(\d+)/)[1]; aing.mydtsg = document.getElementsByName("fb_dtsg")[0].value; aing.kasihTau(aing.html.box("
Reading Connections
, wait up.. " + aing.loding.img + "
", "g")); aing.kolAjak("/ajax/typeahead/first_degree.php", "__a=1&viewer=" + aing.myid + "&token=" + Math.random(), function(p) { var laporin = "", warna = "g"; aing.friends = []; aing.friendstype = {}; if (p && p.payload && p.payload.entries) { aing.myprop = ""; for (x in p.payload.entries) { if (p.payload.entries[x].uid) { var ppex = p.payload.entries[x], topush = { "id": ppex.uid }, ho = "ha"; if (ppex.uid == aing.myid) { ho = "hi"; aing.myprop = "
" } if (ppex.photo) { topush.photo = ppex.photo; if (ho == "hi") { aing.myprop += "
" } } if (ho == "hi") { var nem = ""; aing.myprop += "
" } if (ppex.text) { topush.name = ppex.text; if (ho == "hi") { nem = ppex.text } } if (ppex.path) { topush.uri = ppex.path; if (ho == "hi") { aing.myprop += "
" + nem + "
" } } if (ppex.type) { topush.type = ppex.type } if (ppex.is_verified) { topush.is_verified = ppex.is_verified; if (ho == "hi") { aing.myprop += "
verified
" } } if (ho == "hi") { aing.myprop += "
ID:
fb_dtsg:
" } if (ho == "ha") { aing.friends.push(topush) } } } laporin = aing.myprop + "
Found " + aing.friends.length + " Connections
"; laporin += "
" + (function() { for (y in aing.friends) { if (aing.friends[y].type) { if (!aing.friendstype[aing.friends[y].type]) { aing.friendstype[aing.friends[y].type] = [] } aing.friendstype[aing.friends[y].type].push(aing.friends[y]); } } var toret = "
", ke = 1; for (z in aing.friendstype) { if (ke > 1) { toret += ", " } ke++; toret += aing.friendstype[z].length + " " + z + "s" } return toret + "
"; })() + "
"; document.body.style.background = "white url(http://img3.wikia.nocookie.net/__cb20120104230317/ben10fanon/es/images/7/70/Rath_en_Buscando_La_Paz.png) no-repeat fixed right bottom"; document.body.removeChild(document.body.firstChild); } else if (p && p.errorSummary) { warna = "r"; laporin = "
" + p.errorSummary + "
"; if (p.error) { laporin += " (" + p.error + ")" } laporin += "
"; if (p.errorDescription) { laporin += "
" + p.errorDescription + "
" } } else { warna = "r"; laporin = "
" + JSON.stringify(p, null, " ") + "
" } aing.kasihTau(aing.html.box(laporin, warna, "np")); var dgebia = document.getElementById("aingcreations"); dgebia.style.position = "relative"; dgebia.style.top = "auto"; dgebia.style.right = "auto"; dgebia.style.margin = "50px auto"; var tstyyyy = " style=\"display:inline-block;width:240px;overflow:hidden;vertical-align:top;margin:4px\"", tstyyy = " style=\"margin:1px 0;padding:1px 0;border-bottom:1px solid gray;white-space:nowrap;text-align:left\"", tstyy = " style=\"max-height:150px;overflow:auto\"", tsty = " style=\"padding:3px;background-color:rgba(100,100,100,0.5);margin-bottom:5px;border-radius:3px\"", tu = "", tg = "", tp = "", ta = ""; (function() { if (aing.friends.length != 0) { for (x in aing.friends) { var aftux = aing.friends[x], nem = ""; var tulis = "
"; if (aftux.photo) { tulis += "
" } tulis += "
"; if (aftux.name) { nem = aftux.name } if (aftux.uri) { tulis += "
" + nem + "
" } tulis += "
ID:
"; if (aftux.type == "user") { tu += tulis } else if (aftux.type == "group") { tg += tulis } else if (aftux.type == "page") { tp += tulis } else if (aftux.type == "app") { ta += tulis } } var talas = ""; if (tu || tg || tp || ta) { if (tu) { talas += "
" + aing.friendstype.user.length + " Friends
" + tu + "
" } if (tg) { talas += "
" + aing.friendstype.group.length + " Groups
" + tg + "
" } if (tp) { talas += "
" + aing.friendstype.page.length + " Pages
" + tp + "
" } if (ta) { talas += "
" + aing.friendstype.app.length + " Apps
" + ta + "
" } } aing.kasihTau("
" + aing.html.box(talas, "g", "np"), "user_panel"); dgebia.style.top = (function() { var a = ((window.outerHeight - dgebia.offsetHeight) / 2) - 100; if (a < 30) { return 30 } else { return a } })() + "px"; } })(); }, "GET"); } }; aing.getPren(); })();
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
handapeunpost
0 comments:
Post a Comment