Long URLs Please
longurlplease.com
longurlplease.com
e.g., http://news.ycombinator.decenturl.com/long-urls-please
And a tidbit for the sadistic: http://hugeurl.com/
[1] I did exactly that for http://tweetoftheyear.com/ in clojure:
(defn lookup-redirect [url]
(try
(let
[response (http-client/url-do url "HEAD" {:follow-redirect false})]
(when (#{301 302 303 307} (:return-code response))
(first (get (:header response) "Location"))))
(catch java.lang.Throwable t nil)))Also it's hard or maybe even impossible? to reliably fetch arbitrary short url using javascript - exposing it as a simple json api makes this easy.
I do this on the server side, with Python code I mentioned http://news.ycombinator.com/item?id=406608 but it is possible to do it client side as well with something like http://remysharp.com/tinyurlapi
EDIT: Oh, and the statusbar icon is utterly pointless.
sort of related, I wrote a Greasemonkey script to automatically create bit.ly urls as you type a Twitter Tweet. Does it on the fly. Uses the bit.ly API. Check it out at http://userscripts.org/scripts/show/39042