My Business Directory  - Anti-Spammer Email code
Satistics
  • Active Links: 170
  • Pending Links: 1
  • Todays Links: 2
  • Total Articles: 10
  • Total Categories: 16
  • Sub Categories: 725
SPONSORS

My-business-directory is pleased to provide these free tools for your website.

Please support us in keeping these free, by visiting our sponsors.

You will find these website tools and more, accessible from links in our main webpages, as well.

 

"Anti-Spammer Email Javascript" code

We all know that if you add a 'contact us' link to your website, that spambots love to seek out your email address and use it to inundate you

with unwanted junk email.

This script creates a "contact us" email link that can not be detected by spammers or bots.

 

Copy and paste the code below, to your webpage where you would like the link to appear, then customise the details to suit your needs.



<script language="javascript">
<!--
// Customize the following 3 lines

var linktext="Contact Us"; // the link text
var name="yourname"; // the "username" part of your e-mail address (before @)
var host="domain.com"; // the "host" part of your e-mail address (after @)

// Don't change below this line
var at="@";
document.write("<a href="+"mai"+"lto:"+name+at+host+">"+linktext+"</a>");
//-->
</script>

 

This code will create a link that looks like this:

 

 

Remember to change the "Contact Us" to the text you would like in the link.. eg, you might like Email Us, Contact, Feedback etc

Remember to change "yourname" to the first part of your email address that comes before the @, eg, it might be mail, staff,

enquiries, sales etc.

Remember to change the "domain.com" to the second part of your email address which comes after the @ eg, could be

 your_website_name.com.au, website.org etc.

ARTICLES
Common Search Engine Positioning Mistakes
Here's a list of the most common mistakes that people are making, when it comes to search engine optimization.
Adverts
my-business-directory
Random Quote
Confusious says...
Elevator smell different to midget.