Spammers mostly go to websites to get the ‘victims” e-mail address and stuff. Well, here’s a way you can avoid that – using this javascript codes;
- First, you will need to paste the following codes inside the <head> section of your page;
<script language="JavaScript">
<!--
function SymError() {
return true;
}
window.onerror = SymError;
//-->
</script>
<script language="JavaScript1.2" type="text/javascript">
<!--
function mailto(user,domain) {
status="mailto:" + user + "@" + domain; locationstring = "mailto:" + user + "@" + domain;
window.location = locationstring;
}
-->
</script>
- And then all you have to do is to put these as link code of where you want to put your email address;
<a href="javascript:mailto('you','yourdomain.com')">email me</a>
- Don’t forget to change the you and yourdomain.com parts, according to your information…
Comment?
»
Leave a comment
ajwa . Naj . Wawa . 26 . 











