Hide your mail





8
Date Submitted Thu. Apr. 12th, 2007 2:33 PM
Revision 1 of 1
Beginner siva
Tags Email | JavaScript | Mail | protect
Comments 4 comments
You can search for "@" or something like mail information in your page source code. You'll find nothing.
You can have link of your mail with a title or just you mail address as the title. Hope this code have no problem...

<script>
function mail_protege(nom,domaine,titre){
        var chiffre = 8*(4*2);
        var a_tordu = "&#"+chiffre+";";
        if(titre){
        document.write('<a href="mailto:'+nom+a_tordu+domaine+'">'+titre+'</a>');
        }else{
        document.write('<a href="mailto:'+nom+a_tordu+domaine+'">'+nom+a_tordu+domaine+'</a>');
        }
}
</script>
 

<script>
mail_protege('contact','yourdomain.com');
</script>
 

<script>
mail_protege('contact','yourdomain.com','YourDomain.com');
</script>
 

Sivacoumarin Siva

Comments

Comments between...
Thu. Apr. 12th, 2007 6:00 PM    Beginner siva
Comments Don't vote "down"
Tue. Apr. 24th, 2007 9:50 AM    Beginner siva
Comments will not stop
Sun. Apr. 15th, 2007 11:40 PM    Syntax Master sundaramkumar
  Comments so how?
Mon. Apr. 16th, 2007 2:55 AM    Beginner siva

Voting