GmailThis! Bookmarklet

GmailThis! is an easy way to make a Gmail email without visiting mail.google.com.

Once you add the GmailThis! link to your browser's toolbar, emailing will be a snap. Or rather, a click. Clicking GmailThis! creates a mini-interface to Gmail pre-populated with a link to the web page you are visiting, as well as any text you have highlighted on that page. Add additional text if you wish and then email or save as draft from within GmailThis!

Update: Fixed "You are currently viewing Gmail in basic HTML" bug working as of October 18th 2010.

Source (contrapants.org)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%7Bpopw%3D%27%27%3BQ%3D%27%27%3Bd%3Ddocument%3Bw%3Dwindow%3Bif%28d.selection%29%7BQ%3Dd.selection.createRange%28%29.text%3B%7Delse%20if%28w.getSelection%29%7BQ%3Dw.getSelection%28%29%3B%7Delse%20if%28d.getSelection%29%7BQ%3Dd.getSelection%28%29%3B%7Dpopw%3Dw.open%28%27http%3A//mail.google.com/mail/s%3Fview%3Dcm%26fs%3D1%26tf%3D1%26to%3D%26su%3D%27+encodeURIComponent%28d.title%29+%27%26body%3D%27+encodeURIComponent%28Q%29+escape%28%27%255Cn%255Cn%27%29+encodeURIComponent%28d.location%29+%27%26zx%3DRANDOMCRAP%26shva%3D1%26disablechatbrowsercheck%3D1%26ui%3D1%27%2C%27gmailForm%27%2C%27scrollbars%3Dyes%2Cwidth%3D680%2Cheight%3D575%2Ctop%3D175%2Cleft%3D75%2Cstatus%3Dno%2Cresizable%3Dyes%27%29%3Bif%28%21d.all%29setTimeout%28function%28%29%7Bpopw.focus%28%29%3B%7D%2C50%29%3B%7D%29%28%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.

skygunner

works


Jake

OMGWTWBBQ! It WORKS!! O.O


thoma

It opens a gmail window, but it's the simple html view of the inbox, not a new mail window... :(


Leon

This recently stopped working. When I click it now I'm taken to my inbox with the message 'You are currently viewing Gmail in basic HTML'. It used to open a compose window.


Leon

Comment above was posted 18.10.2010.


Glenn

Looks like it's fixed! Thanks!!


Mike D

http://www.google.com/support/forum/p/gmail/thread?fid=599125c895309237000492b2c764aa51&hl=en


masmarius

hummm... allright it opens a new window... wait for it wait for it... what?! live mail? Geez! DREADFUL.


occasional user

Wasn't working at all till I applied fix #1 - change ui=1 to ui=2. But then it emailed one link and failed another. After looking at the link of the failure, I found a dash character in the URL, and removed that part, which happened to still refer to the same page. This worked. Can anybody suggest a better workaround, or a fix to the bookmarklet? I'm using Chrome on XP SP3.