Hide your email address javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • megri
    Administrator

    • Mar 2004
    • 970

    Hide your email address javascript

    This will hide your email address from spambots that harvest email addresses.

    <script language="Javascript">
    <!--
    // Javascript
    function mailto()
    {
    var domain = 'host.com';
    var username = 'username';
    document.location = 'mailto:' + username + '@' + domain;
    }
    //-->
    </script>

    <a href="javascript:mailto()">Click here to email</a>
    Parveen K - Forum Administrator
    SEO India - TalkingCity Forum Rules - Webmaster Forum
    Please Do Not Spam Our Forum
Working...