Hi all,
I make heavy use of a JavaScript bookmarklet which has been on the web
for some time now, known as "GMail This." When clicked, it opens a
popup window to compose a message whose body contains the current URL,
and optionally any selected text.
Today, it no longer works for me. The popup window to GMail (compose
message) opens, then hangs, blank except for a "Loading..." message.
The script fails on two different machines: Windows at work and OS X
at home, both using Firefox.
I thought perhaps the underlying parameters that GMail uses changed.
Does anyone else use this script, and have the same problem (or a
fix)?
There are variations of this script floating around the web; so at the
end of this message is the JavaScript one-liner I am using, for
reference. Thanks for any thoughts.
--Jason
==========================================================================
javascript:popw='';Q='';x=document;y=window;if(x.selection)
{Q=x.selection.createRange().text;} else if (y.getSelection)
{Q=y.getSelection();} else if (x.getSelection)
{Q=x.getSelection();}popw = y.open('
https://mail.google.com/mail?view=cm&tf=0&to=&su='
+ escape(document.title) + '&body=' + escape(Q) + escape('\n') +
escape(location.href),'gmailForm','scrollbars=yes,width=680,height=510,top=175,left=75,status=no,resizable=yes');if
(!document.all) T = setTimeout(' popw.focus()',50);void(0);
==========================================================================