In which I explain how to create a handy bookmarklet

TinyURL! Bookmarklet

I love TinyURL! and have been using it for years and years.

For the first time today I scrolled down the page a bit, by accident, and saw that you can create a TinyURL! bookmarklet. Trés radical.


I modified the code a little bit so that it opens in a new window.
(Grab it here: TinyURL!)

The actual bookmarklet JavaScript string is:

javascript:void(open('http://tinyurl.com/create.php?url='+encodeURIComponent(location.href)))

There are 2 comments on this post

  1. Great, extremely useful. Thanks a lot.

  2. Doesn’t work anymore.
    TINYURL has banned this method.

Add to the discussion:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.