Comment

Comment by bitmedley

Encoding your email address to hexadecimal may prevent some less sophisticated crawlers from capturing your email address.

mailto: -> mailto:

[email protected] -> abc@gmail.com

Then instead of:

<a href="mailto:[email protected]">[email protected]</a>

Use this:

<a href="mailto:&#097;&#098;&#099;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;"> &#097;&#098;&#099;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a>

Or this ("mailto:" also encoded):

<a href="&#109;&#097;&#105;&#108;&#116;&#111;:&#097;&#098;&#099;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;"> &#097;&#098;&#099;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;</a>

source: http://www.wbwip.com/wbw/emailencoder.html

parent bitmedley 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton