rickzeef

Facebook Friends Ranking Bookmarkable Tool

Dec 11th, 2013
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Facebook Friends Ranking Bookmarkable Tool. Open up Facebook and click the bookmark. This script shows you how Facebook ranks all your friends.
  2.  
  3. Source: https://online-marketing-tools.zeef.com/rick.boerebach#link_21480
  4.  
  5. Bookmark the following script as URL:
  6.  
  7. javascript:(function()%7Bfunction creator(e,t,n)%7Bvar r=document.createElement(n);var i=document.createTextNode(t);r.appendChild(i);e.appendChild(r)%7Dfunction displayData(e)%7Bvar t=document.createElement("table");var n=document.createElement("thead");t.appendChild(n);var r=document.createElement("tr");creator(r,"Name","th");creator(r,"Score","th");n.appendChild(r);var s=document.createElement("tbody");t.appendChild(s);for(i=0;i<e.length;i++)%7Bvar r=document.createElement("tr");creator(r,e%5Bi%5D%5B"text"%5D,"td");creator(r,e%5Bi%5D%5B"grammar_costs"%5D%5B"%7Buser%7D"%5D,"td");s.appendChild(r)%7Ddocument.body.innerHTML="";document.body.appendChild(t)%7Did=requireDynamic("Env").user;url="//www.facebook.com/ajax/typeahead/search/facebar/bootstrap/?viewer="+id+"&__a=1";x=new XMLHttpRequest;x.onreadystatechange=function()%7Bif(x.readyState==4&&x.status==200)%7Bsrr=JSON.parse(x.responseText.substring(9)).payload.entries;displayData(srr)%7D%7D;x.open("GET",url,true);x.send()%7D)()
RAW Paste Data