Skip to content

Instantly share code, notes, and snippets.

@nathanbirrell
Last active April 14, 2020 00:47
Show Gist options
  • Save nathanbirrell/b1ad5c1269910eab73e821f64377f778 to your computer and use it in GitHub Desktop.
Save nathanbirrell/b1ad5c1269910eab73e821f64377f778 to your computer and use it in GitHub Desktop.
Share via Fastmail Email Bookmarklet
javascript:(function(){popw='';Q='';d=document;w=window;if(d.selection){Q=d.selection.createRange().text;}else if(w.getSelection){Q=w.getSelection();}else if(d.getSelection){Q=d.getSelection();}popw=w.open('https://www.fastmail.com/mail/compose?to=&subject='+encodeURIComponent(d.title)+'&body='+encodeURIComponent(Q)+escape('%5Cn%5Cn')+encodeURIComponent(d.location)+'&zx=RANDOMCRAP&shva=1&disablechatbrowsercheck=1&ui=1','scrollbars=yes,width=680,height=575,top=175,left=75,status=no,resizable=yes');if(!d.all)setTimeout(function(){popw.focus();},50);})();
@nathanbirrell
Copy link
Author

Paste this into your bookmark's URL value for a quick share bookmarklet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment