Chrome gmail mailto
A simple but useful question!
When you click on a "mailto" link in Chrome, it usually opens the default email client on your system. However, if you want to open the email link in Gmail instead, you can use a simple trick:
- Right-click on the "mailto" link.
- Select "Inspect" (or press
Ctrl + Shift + I
on Windows orCmd + Opt + I
on Mac). - In the Chrome DevTools, switch to the "Elements" tab.
- Find the "mailto" link in the HTML code and click on it.
- In the address bar, you'll see the
mailto
protocol followed by the email address. Replacemailto
withhttps
(orhttp
if you prefer). - Add
://mail.google.com/mail/?view=cm&to=
to the beginning of the address. - Press Enter to open the email link in Gmail.
For example, if the original link is mailto:[email protected]
, you would replace it with https://mail.google.com/mail/?view=cm&to:[email protected]
.
From now on, whenever you click on a "mailto" link, Chrome will open it in Gmail instead of your default email client.
Note: This trick works for most "mailto" links, but some might not work due to specific implementation details.