How do I prevent my published email address from being harvested by spammers?To prevent the harvesting of your or your organization’s email address from your web pages on NYU Web, we recommend that you implement one of the two solutions offered below to replace your "mailto" links on html pages. JavaScript ReplacementFor example, if your email address is mysite.info@nyu.edu, you would insert the following code, replacing “
<script type="text/javascript">
ASCII Code ReplacementYou can replace the "@" sign in your mailto links with the ASCII code equivalent: For example, if your email address is mysite.info@nyu.edu, you would do the following:
<a href="mailto:mysite.info@nyu.edu">mysite.info@nyu.edu</a>
This will produce a link that says mysite.info@nyu.edu |
If you'd like to have your email address automatically encoded into ASCII format, you can use the utility at this website: |
