I would like to put an email address on a website I am working on abd would like some advice.
I currently input the email address like this to stop smap groups scanning the page and collecting the addresses
<SCRIPT LANGUAGE="JavaScript">
<!-- var addr1 = "mailto:"
var addr2 = "username"
var addr3 = "@"
var addr4 = "domain"
var addr5 = ".co.uk"
document.write('<A HREF="' + addr1 + addr2 + addr3 + addr4 + addr5
+ '">')
document.write('' + addr2 + addr3 + addr4 + addr5 + '</A>')
//-->
</SCRIPT>
|
Put is there a better way of protecting the address, I want the address to appear on screen as well rather than "Click here to contact" which I find so annoying, I want it to read