Jun
Display Your Email Address Without Getting Spammed

It is nearly impossible to stop your email address from getting spammed. Even if no one knows it, it will probably get spammed some day.
For emails that are made public, the amount of spam can be devastating. So if you’re going to display your email address, do it the smart way!
For me, the smart way is to use a little JavaScript to mask the email address. That link will take you to a site telling you how to do it, too.
That script is great because it displays a clickable email address to your site visitors, but it just displays some words and code to spam bots.
Why bother?
Well, writing your email address on a web page is just asking for spam. You could put your email in an image and display that, but it’s inconvenient for your visitors and these days, spam bots can decipher the image.
Writing your email like person AT yahoo DOT com can work, but again, it can be a pain for your visitors. Spam bots will surely pick up on that tactic too.
So do yourself a favor and use this JS method. Most people will have JavaScript enabled so you shouldn’t have a big problem with that.
Related Articles:
Like this article?
![]()
Click here to buy me a beer, because damn, I need to get drunk to forget how much internet marketing sucks!







I just wanted to drop you a note to tell you I really enjoy reading your blog. I agree that alot about internet marketing sucks.
Bear in mind that if a browser can change it back in to a real email address, there’s nothing to stop a spam bot doing it too…
Thanks Phil! I checked your blog too, it fits in well with the “internet marketing sucks” theme!
Oli - yes, but the spam bots will probably concentrate on unmasked emails and images for at least a bit longer. This has been the best method for me so far, so I’ll stick with it until something better comes up.
I think of this like buying a Mac to avoid computer viruses - people could write viruses for Macs, but there are so many Windows machines out there, why bother?
Sweet man, i definitely will be using that for my sites! I currently use the myusername AT gmail DOT com method.