Skip to content

Instantly share code, notes, and snippets.

@Morse-Code
Created April 24, 2012 03:09
Show Gist options
  • Save Morse-Code/2475926 to your computer and use it in GitHub Desktop.
Save Morse-Code/2475926 to your computer and use it in GitHub Desktop.
Find Facebook Profile via Facebook Picture.
/* I got tired of manually finding the Facebook profile ID via pictures of people
on facebook so I made this tiny bookmarklet. Add it to your browser bar and click
it whenever you're viewing a picture on facebook. It will take you to the address
of the person who posted the picture. Useful if your a creep. */
javascript:(function(){var sp = location.href.split('/'); var f = sp[sp.length-1].split('_'); window.open("http://www.facebook.com/profile.php?id="+f[2],Math.random()); })();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment