View Single Post
Old 10-20-2008, 10:28 PM   #11 (permalink)
xrvel
Platinum Lifetime Member
 
xrvel's Avatar
 
Last Online: 11-13-2009 02:54 AM
iTrader: (4)
Join Date: Nov 2007
Posts: 65
DNF$: 330
Location: Indonesia
Country:


Quote:
Originally Posted by webd View Post
You can do it with javascript:

Code:
<script type="text/javascript">
var y = "contact"
var z = "example.com"
document.write("<a href=\"mailto:" + y + "@" + z + "\">" + y + "@" + z + "<\/a>")
</script>
If you want to make it trickier, break up the domain into more than one variable.
I use this method. Sometimes i put an image too

And sometimes i put some hidden HTML characters between real e-mail address

For example the real e-mail address is "admin@example.com" :
Code:
ad<span style="color:#000;display:none;" id="xawda">sdxasjdkw</span>min<span style="color:#F00;display:none;" id="a019s">sdxasjdkw</span>@exa<span style="color:#FC0;display:none;" id="ab1n9">mination</span>mple.com
And the visitor still see the above as "admin@example.com"
xrvel is offline   Reply With Quote