Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Bookmarklet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bookmarklet
Authored by: bluehz on Aug 14, '03 08:19:00AM
This bookmarklet will create new webpage with the Subject set to the title of the page, and the body set to the URL, then a blank line, and then the selected text. Tested in Safari.
javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href+'\r\r'+getSelection())
and this one will popup a dialog that will ask you for the Subject you want to have for your new email (as opposed to above where the page title is used):
javascript:void(subj=prompt('Enter%20Subject:',''));if(subj)void(location.href='mailto:?SUBJECT='+escape(subj)+'&BODY='+escape(location.href+'\r\r'+getSelection()))


[ Reply to This | # ]
Bookmarklet
Authored by: bluehz on Aug 14, '03 08:45:43AM
This one does the same as above, but gives you popup to enter subject and some msg text:
javascript:void(subj=prompt('Enter%20Subject:',''));void(extra=prompt('Enter%20Msg:',''));if(subj)void(location.href='mailto:?SUBJECT='+escape(subj)+'&BODY='+escape(extra)+'\r'+escape(location.href+'\r\r'+getSelection()))


[ Reply to This | # ]