mailto: links in your browser opening Outlook or Mail.app whenever you click them? You can tackle this problem with extensions or through other means, but Googler and HTML5 guru Paul Irish offers a simple, no-add-ons-required approach. Here’s how it works:
- Open Gmail in Chrome.
- Paste the following into the console and press Enter:
- Chrome will prompt you, asking if you’d like to “Allow Gmail (mail.google.com) to open all email links?” Click the Use Gmail button.
- That’s it!
To test that it worked, try this mailto: link, which should open a new message in Gmail with a link to Irish’s post over on HTML5 Rocks.
Incidentally, this feature has been around in Firefox since Firefox 3, so Firefox users, you can accomplish the same task by following roughly the same steps. However, Firefox has also gone a step further to make this easier. Open Firefox Preferences, click the Applications tab, and type