Skip to content

Instantly share code, notes, and snippets.

@lajlev
Last active December 21, 2015 04:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lajlev/6248084 to your computer and use it in GitHub Desktop.
Save lajlev/6248084 to your computer and use it in GitHub Desktop.
How to create a bookmarklet to compose funktion in gmail.
  • Create a bookmark to Gmail.
  • Edit & paste following snippet into the url field.
javascript:var w=window,u='https://mail.google.com/mail/u/0/?ui=2&view=cm&fs=1&tf=1',l=document.location;try{ throw(0); } catch(z) {a =function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=600,height=500'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0)
  • Boom you got a bookmarklet which make you able to compose an email, without having to enter you bloated inbox :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment