Friday, March 13, 2009

Some neat bookmarklets

Would you like to convert a Web page to a PDF file? One way to do that is to install a browser add-on from The add-on lets you choose to have the converted page emailed, opened, or saved on your hard drive.

Or, instead of using the add-on, you could use the bookmarklet. The bookmarklet does not require installation, works with most browsers, and will not slow your browser down or consume memory. It can even be stored on the Internet for access from any computer. However, it lacks features of the add-on -- it does not offer the option of emailing or saving the PDF file; it just opens it.

Bookmarklets are similar to add-ons, but they may have fewer features. They are small JavaScripts that execute when you click on their icons in the bookmark toolbar. Here is the code of a simple bookmarklet that re-sizes the browser window to 800 by 1,000 pixels (which would be useful if you were preparing a series of same-size screen shots):

The script is a bit longer because it calls the PDF conversion service using their API:
There are tons of useful bookmarklets, and you can see a list of some of the best at this excellent Digital Inspiration post. If you start using bookmarklets, you will also like this post.

What is your favorite browser add-on? What is your favorite bookmarklet?