The Pug Automatic bookmarklet that opens in new tab (or window)

Written September 24, 2006. Tagged JavaScript, Bookmarklets.

I assume this has been done many times before, but a quick google didn't turn it up, so I'll blog it.

This is a very slight modification of the "official" bookmarklet, that opens the submission page in a new tab (or a new window, depending on your browser settings): Add to

I want it in a new tab because I often decide to bookmark things when in the middle of reading them, and so having the page replaced with the submission page is annoying.

The code is simply: