One of the weaknesses that spiders of all kinds suffer from is an inability to
process scripts. Adding a small snippet of Javascript in place of an email
address effectively renders the address invisible to spiders, while leaving it
accessible to your visitors with all but the most primitive web browsers.
In the three examples below, simply substitute your username (the first half
of your email address, everything before the @ symbol) and your hostname
(everything after the @ symbol). To use the scripts, just insert them into
your page's HTML wherever you need them to be displayed.
Example 1:
Creating A Spam-Proof Mailto Link
This snippet of code creates a clickable link that launches the visitor's
email application, assuming that their system is configured to work with
mailto links. You can replace the link text with your own message, but see
example 2 if you want to display your email address as the link text.
<script language=javascript> <!-- var username =
"username"; var hostname = "yourdomain.com"; var linktext = "Click Here To
Send Me Email"; document.write("<a href=" + "mail" + "tox" + username + "@" +
hostname + ">" + linktext + "</a>") //--> </script>
Example 2:
A Spam-Proof Mailto Link With
Your Email Address
Showing
Some visitors won't be able to use a mailto link, and will instead need to
read the email address. No problem, just use the snippet below instead.
<script language=javascript> <!-- var username =
"username"; var hostname = "yourdomain.com"; var linktext = username + "@" +
hostname; document.write("<a href=" + "mail" + "tox" + username + "@" +
hostname + ">" + linktext + "</a>") //--> </script>
Example 3:
Display Your Email Address Without A Mailto Link
Sometimes, you just want to give your email address without making it a
clickable link - here's a snippet that accomplishes just that:
<script language=javascript> <!-- var username =
"username"; var hostname = "yourdomain.com"; var linktext = username + "@" +
hostname; document.write(username + "@" + hostname) //--> </script>
Technique #2:
Hide Behind A Contact Form
Sometimes the sheer volume of email from real visitors can become a burden. In
this case, a simple solution is to remove your email address from your site
entirely, and use a contact form.
There are dozens of free ASP, Perl, and PHP
scripts available online that will allow your users to fill in a form, and
send you an email. Many hosting providers offer this service for free to their
customers.
A contact form can enable you to deal with a higher volume of mail by allowing
you to pre-sort different types of messages. This is easily accomplished by
creating a drop-down menu with different options (e.g. customer service,
billing, tech support, etc.) that will populate the subject line of the email
message.
I hope that this tutorial has given you a clear
understanding of how to protect your website, and your email address, from
spam-bots. If you have any questions about this article, feel free to contact
me through my website. The (spam-proof) email link is at the bottom of my home
page, right after the "P.S."
I wish you success...
About the Author:
Dan Thies has been helping his clients (and
friends) promote their websites since 1996. His latest book, "Search
Engine Optimization Fast Start" offers a simple, step by step plan to
increase your website's search engine traffic.
Important Notes:
There are also other alternative methods to lure the spambots harvester into
collecting tens of thousands of totally fake useless email address by wasting
its time sending messages to non-existing emails, check it out at:
ww.monkeys.com/wpoison/
|
|
eMail Bolts & Nuts
FAQ's |
The function of URL or Uniform Resource Locator?
A command for your email address, some mail clients may not be able to translate it into an email address |
A standard client
server protocol for receiving email. POP3 is use for retrieving Internet email from ISPs mail server... |
Collections of important useful emails related sites? Free email stuff, real
cool, give it a try |
Advanced DNS (dig) for the DNS records of a
host or domain showing all the DNS records |
All about IP Addresses, DNS,
Internet addressing. Serious stuff, perfect remedy if you can't sleep |
Email history,
email netiquette, improving email presentation, email with sound, pictures--give it a try |
101 Email spam tracking and meaning of message header? 102 DejaNews the most powerful dedicated spam-tracker's tool 103 The spam tracker tools: Whois, nslookup, traceroute, dig
104 Spam tracking |
Never use ISPs that hosts your
web site to send out newsletter. If they cancel your account, you will lose all your web pages |
Warning: If you publish an
online newsletter or email to any opt-in list (including your own list), it is critical that you read this |
The history of Spam
starts with Monty Python's Flying Circus and Vikings singing Spam |
A list of return error codes by Windows Sockets API
returned by WSAGetLastErrorcall with descriptions |
Meet The Kings of SPAM - You don't
need rocket science to figure out how to send spam emails |
whois.internic.net
or network solutions are network registries to find out contact info for current domain or IP address |
nslookup
a DNS tool that Perform forward and reverse DNS queries for the current address (this will usually give you the IP address of a hostname) |
traceroute
finds the route packets take between you and the selected address |
How email works? Delivery of each
email is done by your ISP mailserver establishing a conversation through
(port 25) of your recipient mail server |
Free2-Try
100%
effective.
The easiest way to Stop
Spam
getting into your PC. I recommend it. |
|
|
Free eBook
Sun Tzu Art of War
Commanders without thoughtful strategy
invite defeat. |
|
|
Free eBook
Great online Stealth
Marketing strategies to help you increase sales |
|
|
|