html encrypt email from bots code example
Example 1: html encrypt email from bots
<a href="#" class="cryptedmail"
data-name="info"
data-domain="example"
data-tld="org"
onclick="window.location.href = 'mailto:' + this.dataset.name + '@' + this.dataset.domain + '.' + this.dataset.tld; return false;"></a>
Example 2: html encrypt email from bots
.cryptedmail:after {
content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}