2013-05-05 55 views
0

我正在使用「Gmail This!」小書籤通過Gmail使用迷你撰寫窗口發送URL和選定文本。目前我仍然需要輸入收件人,然後點擊發送。我想使用「Gmail This!」傳遞收件人瀏覽器書籤

我想知道是否有可能通過在代碼中的收件人Gmail能夠使用,所以我只需要點擊發送按鈕

這裏是我使用的代碼:

javascript:(function(){var%20w=window,d=document,gS='getSelection';var%20s=(''+(w[gS]?w[gS]():d[gS]?d[gS]():d.selection.createRange().text)).replace(/(^\s+|\s+$)/g,'');m='http://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(document.location+'\n\n'+s);w=window.open(m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');setTimeout(function(){w.focus();},%20250);})(); 

代碼來源於此頁面An Improved "Gmail This" Bookmarket

我只是需要將鏈接發送給自己

回答

0

了「後,只需添加您的電子郵件地址to =「在小書籤中:

javascript:(function(){var%20w=window,d=document,gS='getSelection';var%20s=(''+(w[gS]?w[gS]():d[gS]?d[gS]():d.selection.createRange().text)).replace(/(^\s+|\s+$)/g,'');m='http://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]&su='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(document.location+'\n\n'+s);w=window.open(m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');setTimeout(function(){w.focus();},%20250);})();