In my chrome extension (this is in the popup page) I have an option to open directly into the user's default mail client with href="mailto:"
and I have also added target=_blank
to this link, however, when it is clicked, a new tab opens, but the page doesn't load and is in a blackscreen until I manually press enter on the URL of the new tab.
This code snippet simulates the problem, however stackouverflow snippets cannot open new tabs, so to test it you must open it elsewhere
body {
font-family: "Avenir Next", "Avenir", sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
<h1>example@gmail.com</h1>
<a href="mailto:example@gmail.com" target="_blank">Send Email</a>
Appreciate any help, thanks :)