Skip to content

Instantly share code, notes, and snippets.

@mflodin
Created September 24, 2015 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mflodin/cb297ce8a656a6bd7faa to your computer and use it in GitHub Desktop.
Save mflodin/cb297ce8a656a6bd7faa to your computer and use it in GitHub Desktop.
Autofill email address in Office365 Outlook
javascript:(function () { var email = localStorage.getItem('bookmarklet-email');if(!email) {email = prompt('What is your email address?'); localStorage.setItem('bookmarklet-email', email); } document.getElementById('userNameInput').value = email; document.getElementById('passwordInput').focus(); })();
@mflodin
Copy link
Author

mflodin commented Sep 24, 2015

Copy and paste the code above into the address part of a new bookmark. The first time the bookmarklet is run it will ask for your email address. Be sure to type it correctly as it will only ask once. =)

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