improving Safari’s Services -> Mail option

The letters page in MacWorld (oh, what a thin little book that is these days) had a contributed bookmarklet that improves on the all-but-useless Services -> Mail option.

To use it, create a new bookmark and populate the address field with this (yes, there is a hard return/newline before SUBJECT).

What this will do is create a new mail message, put the title of the page in the Subject, and put the href and any selected text into the body of the message.

javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)+'\r\r'+window.getSelection()

Or just drag this to your bookmark bar . . . .
mail it