7 ms·
What's wrong with this? <a href="mailto:mail.added@by.js" /> some <span style="display: none" />☃</span> person@gmail.com </a>
by cmircea 13y ago
What's wrong with this?
<a href="mailto:mail.added@by.js" />
some
<span style="display: none" />☃</span>
person@gmail.com
</a>
And here I can either click the link or copy the text and it isn't all messed up. A simple function can easily generate that HTML for any email string.
- skeletonjelly 13y agoYou're being downvoted with no explanation. The issue with that is that your email address is easily harvested by combing through websites. The comment above yours is describing a way to get around this by obfuscating the email address in HTML and using CSS trickery to get it to show normally.
- cmircea 13y agoHow is it easily harvested in that case? Are you expecting bots to implement a full HTML & CSS parser? The comment above will not allow you to copy and paste the email into a to input; might as well use an image.