Hacker News new | ask | show | jobs
by nicky0 4409 days ago
A useful service to "unshorten" links is http://longurl.org/

Paste in a shortened link and it will tell you the original URL, listing all the intermediate steps on the way. It also has an API.

3 comments

I couldn't find a working Chrome extension so I created a basic one [1]

[1]: https://github.com/codrineugeniu/chrome-unshortener

There's no real need for an API. Just do an HTTP HEAD request until you stop getting redirects (watch out for loops).
Some days, I go around internetting and it's like I'm lengthening URLs with that page every 5 clicks.