Print Page | Close Window

Email address on websites

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=15109
Printed Date: 29 March 2026 at 10:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email address on websites
Posted By: pjb007
Subject: Email address on websites
Date Posted: 16 May 2005 at 1:03pm
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
 
Email: mailto:username@domain.co.uk - username@domain.co.uk



Replies:
Posted By: dpyers
Date Posted: 16 May 2005 at 5:37pm
http://istpub.berkeley.edu:4201/bcc/Winter2003/feat.spamharvest.html - http://istpub.berkeley.edu:4201/bcc/Winter2003/feat.spamharvest.html
 
http://willmaster.com/possibilities/demo/aelgwase.html - http://willmaster.com/possibilities/demo/aelgwase.html


-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net