Hiding email address from harvester bots, spiders, etc.
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

Hiding email address from harvester bots, spiders, etc.

Summary

If you believe that your email address has been harvested (taken off your site and sold to spammers). You can hide your email address, but still have people email you?

Hiding your email address

You will need to add this code into your page where you have your email listed. This will require a little bit of Javascript but it is easy. Here is the code that you will need to paste into your code and then modify.

            <script language="javascript">
            function m_sfcon (u) {
                pre = "mail";
                url = pre + "to:" + u;
                document.location.href = url + "@your-domain-name.com";
            }
            </script>
            
            <a href="javascript:m_sfcon('YOUR-EMAIL-PREFIX-GOES-HERE')">Email Me</a>
            
If your email is bob@example.com, you would change the "your-domain-name.com" to "example.com" and "YOUR-EMAIL-PREFIX-GOES-HERE" would be changed to bob.

Knowledgebase Article 275,635 views bookmark tags: address bots email hiding porn spam spammers spiders


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Getting spammed? What does HostMonster recommend?
Knowledgebase Article 541,541 views tags: email filter spam

Explanation of how spam works and common prevention tips
Knowledgebase Article 294,012 views tags: email spam webmail

How does Spam Hammer work?
Knowledgebase Article 214,608 views tags: email filter hammer spam

Related Help Content

Most people use email every day, if not multiple times a day; so it’s safe to say that email marketing is good for business. In fact, a recent study showed that email marketing is almost 40 times more effective in new customer acquisition than Facebook and Twitter combined!
Knowledgebase Article 204,397 views tags: Contact campaign constant email law marketing spam subscribers

SPAM is a brand of canned mystery meat made by Hormel Foods Corporation. It was first introduced in...oh wait, different kind of spam—but still related to email spam because they share similar characteristics, like nobody wants it or ever asks for it. Email spam is electronic junk mail or more gen
Knowledgebase Article 137,211 views tags: filter spam spamassassin spamexperts

General Instructions on how to use the spam folder with webmail
Knowledgebase Article 246,338 views tags: email spam spamassassin webmail

If you find some of your emails end up your recipients Spam folder, arrive late, or sometimes don't arrive at all, this article can help you improve the deliverability of the messages you are sending.
Knowledgebase Article 293,692 views tags: delivery email filters receiving sending working

Explanation of what SpamAssassin is and how it works
Knowledgebase Article 240,365 views tags: assassin email spam

There are a large number of emails or spam that need to be deleted from an email account.
Knowledgebase Article 322,457 views tags: delete email emails empty inbox spam trash

Oh spam, sometimes it seems like we'll never get rid of you.
Knowledgebase Article 311,147 views tags: email filtering spam spamexperts virus

How to restore Email Messages the Site Backup Pro tool
Knowledgebase Article 264,754 views tags: backup email forwarders restore site

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here