Hide your email address + mailto link with javascript from spammer
Of course you can write you email on an gif or jpeg image. But you cant give a mailto:link without your email appears clearly. Therefore use javascript, your email appears to visitors as a text but appears spam-bots crawlers as javascript code, which they ignore as usual.
<script language="javascript">
var email = ['i','n','f','o','@', 's', 'i', 't', 'e', '.', 'c', 'o', 'm'];
var link = "";
for(i=0; i<email.length; i++){
str2 += email[i];
}
document.write('<'+'a'+' hr'+'ef="mai'+'lto:'+link+'">'+link+'</a>');
</script>
Similar entries
- How to hide / encrypt CCK Email field with JS against spammer
- Drupal does not send Email on Hosteurope
- Google Apps Email - Updating Google servers
- My Yahoo Email Account Hacked, how can I get it back?
- E-Mail validation with Java and regular expressions (regex)
- Yahoo Mail Plus + Pop and Mozilla Thunderbird emptied my Inbox, need restore
- Sleep Function for JavaScript like PHP
- Random tip / info-box with javascript array
- Why Google-PR gives Drupal 8, Joomla 9 and Phpnuke 5?
- Preload images with JavaScript or CSS
- WebSearch
- Strange error on mixx by submitting a new link
- Remove underline from text-links (html-tag a)
- Redirect webpages with HTML, PHP, .htaccess, Java+Script, CGI-Perl, ASP.NET and ColdFusion
- Check password safety with JavaScript while typing
- Google Analytics to track visitors if javascript disabled?
- What is difference between POP, IMAP and Webmail
- Change background color onmouseover with Javascript
- CCK Text Field in Node-Teaser?

Post new comment