I made a neat mailto bookmarklet that uses the page title as the Subject, and puts the URL and any selected text into the Body. It was tricky because Javascript wanted to interpert the %0D%0A (crlf) too early, so I had to escape the %’s as %25, i.e. %0D%0A -> %250D%250A -> %22%250D%250A%22 (when surrounded by double quotes).
Posted by bowen @ 7:30 pm –
Tags: bookmarklets javascript programming
Other blogs commenting on this post –
Other blogs commenting on this post –




June 1st, 2005 at 10:55 pm
Thanks for the bookmarklet! It works great!
August 2nd, 2005 at 4:38 pm
I’ve been searching for a long time why just %0a wouldn’t work.
Thanks for the tip!
July 27th, 2006 at 10:32 pm
Thanks. That is a great tip. I started writing one of my own after I saw the “Gmail This” boorkmarklet http://email.about.com/library/misc/blgmail_this_bookmarklet.htm.
I had to take out the email address prompt to save time.
Thanks a lot.
March 8th, 2007 at 1:58 am
Just found this via http://lifehacker.com/software/bookmarklets/ask-the-readers–musthave-bookmarklets-240964.php
I had something like this that stopped working so to discover this now is wicked. Do you know of any way to add bookmarklets to a right click menu in firefox?…have tried all custom links, https://addons.mozilla.org/firefox/1920/, but does not work