Help - Search - Members - Calendar
Full Version: Hiding Your Email Address
MonsterSmallBusiness Forums > MonsterWebDesign > Design Aspects
ArcoJedi
Here is a neat trick for those of you that want to put an email address on your site for your customers to contact your company, but DO NOT want those good ole' SPAM-bots to find you. Copy and paste the referenced javascript code onto your contact us page, and change the var lines to your info.

Hide E-mail Address FULL DETAILS

CODE
<script LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!--
Edit the three var lines (anchortext, mailpart1, and mailpart2)
by entering your e-mail information. Then use this script where
you want to display your e-mail address.
-->

<!-- Begin
var anchortext = "Email Me";
var mailpart1 = "username";
var mailpart2 = "domain.com";
document.write("<a href=" + "mail" + "to:" + mailpart1 +
"@" + mailpart2 + ">" + anchortext + "</a>")
//  End -->
</script>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.85 KB -->
crashingflwrgrl
Good score. Thanks. wink.gif
Chrisper
Also try:

http://automaticlabs.com/products/enkoderform

Free encoder.
SwiftSprings
AcroJedi,

You my friend, are on my Christmas card list. Thanks for the Post!

woot.gif Jeff woot.gif
northernladuk
Has anyone else implemented this. I tried a few farming tools on it and it seemed ok but I have to admit since I implemented it my spam is starting where there was none at all before.

I am very tempted to go back to text only with an apology of why we do that. I do have a contact form so it's not like I am making it hard for the customers to contact me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.