Gmail Bookmarklet: Mail To

Using Gmail daily, I’ve been wanting quicker access to the “Compose Email” area for a while now. So I concocted a deadly bookmarklet for doing just that. The following mockery of JavaScript will open for you, a new popup window showing only the Compose window. It’s awesome.

Drag this link to your bookmarks toolbar:

Works with the new Gmail 2 UI.

13 thoughts on “Gmail Bookmarklet: Mail To”

  1. Bojan says:

    Good stuff, Joen, this’ll be very useful. Thanks!

  2. Brendan says:

    A super-mung-bean idea Joen. It’s great for firing off that quick email without having to have the gmail window active – now, if only one could assign a keyboard shortcut to it.

  3. Joen says:

    now, if only one could assign a keyboard shortcut to it.

    Since it’s JavaScript, I would assume that a myriad of both browser extensions (most likely) and even system extensions can fire off the code.

    Possibly this: http://lifehacker.com/software/feature/hack-attack-mouseless-firefox-139495.php or this: http://lifehacker.com/software/keyboard-shortcuts/

    If nothing else, you can right click your Firefox bookmark, and add a “keyword”, for instance “c”. Then your shortcut is alt+d to the location bar, c and then enter. Not what you’re looking for, but close.

  4. matthew says:

    ..and if youre using Safari (I assume this works on Windows with a different key command, maybe ctrl?) and its one of your Bookmarks Bar items, it’s just Command+number-from-left.

    So if its the most left hand Bookmarks Bar link item its Command+1 the next over is Command+2, 3, 4 etc etc. Can you all see the Apple? ->  or just Mac users?

  5. Joen says:

    Can you all see the Apple? ->  or just Mac users?

    Nope, I’m seeing a weird square. Thanks for the tip, tho.

  6. adam says:

    nice work. this should be pretty damn useful.

  7. Long says:

    Oh thanks for this! This is great!

  8. Vindberg, A. says:

    Great idea, I didn’t really feel a need for it (people usually write to me! :)) but im trying it out!

    Cheers!

  9. Jon V says:

    Thanks Joen!

  10. Bubber says:

    I use

    javascript:popw='';Q='';x=document;y=window;if(x.selection)%20{Q=x.selection.createRange().text;}%20else%20if%20(y.getSelection)%20{Q=y.getSelection();}%20else%20if%20(x.getSelection)%20{Q=x.getSelection();}popw%20=%20y.open('https://mail.google.com/mail?view=cm&tf=0&to=&su='%20+%20escape(document.title)%20+%20'&body='%20+%20escape(Q)%20+%20escape('n')%20+%20escape(location.href),'gmailForm','scrollbars=yes,width=680,height=510,top=175,left=75,status=no,resizable=yes');if%20(!document.all)%20T%20=%20setTimeout('popw.focus()',50);void(0);

    It picks up the current URL and ad it to the body of the mail.

  11. Joen says:

    Bubber,

    Thanks for the tip. I’m getting some errors with that, tho, possibly your gode got mangled in transit. Could you post again, as a link?

  12. Bubber says:

    Hmm as a link – I’ll try. 2nd try!

    Gmail this

  13. Joen says:

    Perfect, that works for me. Thanks.

Comments are closed.