// Go to facebook.com
// View source in Chrome
// Right click anywhere and click "Inspect Element" to open developer tools
// Click the little arrow with 3 lines by it to bring up the console
// paste this gunk into the console
body = document.getElementsByTagName('body')[0]
table = body.getElementsByTagName('table')[0]
tbody = table.getElementsByTagName('tbody')[0]
tr_list = tbody.getElementsByTagName('tr')
for (index = 0; index < tr_list.length; index++) {
tr = tr_list[index]
td = tr.getElementsByClassName('webkit-line-content')[0];
txt = td.textContent;
if (txt.substr(0, 61) == '<script>bigPipe.onPageletArrive({"content":{"pagelet_sidebar"') {
break;
}
}
txt = txt.substr(32)
txt = txt.substr(0, txt.length - 10)
json_payload = JSON.parse(txt)
jsmods = json_payload.jsmods
define = jsmods.define
orderedfriends = define[define.length - 1]
list_list = orderedfriends[2]
list = list_list.list
friend_uris = []
for (index = 0; index < list.length; index++) { friend_uris.push('https://www.facebook.com/' + list[index]); }
function goToFriend(numeral) { window.location = friend_uris[numeral - 1]; }
// If you want to see the person first on the list type
goToFriend(1)
// and you'll be redirected there
// If you want to see the person second on the list type
goToFriend(2)
// and you'll be redirected there
etc.