Copy email address to clipboard

This snippet copies the email address from a mailto: link to your clipboard on click instead of opening your email app.

Try it out!

email@gmail.com