Created
October 15, 2009 22:45
-
-
Save j4mie/211358 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A bookmarklet to extract the short 'flic.kr' url from a Flickr photo page, | |
// and display it in a prompt dialog box ready to be copied to the clipboard. | |
javascript:var links = document.getElementsByTagName('link'); for (link in links) { href=links[link].href; if (href && href.match('/flic\.kr/')) { prompt("flic.kr url:", href); }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment