RPS SupportClient Login

Request a Quote

Name
E-mail
Phone

Domain Registration

www..
 

E-mail Encryption

This simple script will hide your e-mail address from spam bots. People have reported more than 80% less spam after implementing this neat trick.

We will use JavaScript to display the e-mail address, just about everyone in the world has JavaScript on their browser, so you shouldn't worry about people not being able to see it.

Quick facts about using this:

  • Works in all JavaScript enabled browsers.
  • Does not allow Spam Bots to see the code for the e-mail addresses, thus making it so they cannot send you spam.
  • These methods have been tested and work 100%.
  • Will not work if someone has JavaScript DISABLED. Some people browse the internet with JavaScript disabled, when they do, they are automatically not able to see 99.9% of web sites online since almost every site uses JavaScript.

Implementation

First, modify the yourdomain.com part to resemble the domain this script will be producing the e-mail. If your e-mail address is sales@domain1.com then you would enter domain1.com inside the place where yourdomain.com is at.

<!--
function generate_address( username ) {
var domain = "yourdomain.com";
var atsign = "@";
var addr = username + atsign + domain;
document.write(
"<" + "a" + " " + "href=" + "mail" + "to:" + addr + ">" + addr + "</a>");
}
//-->

Then the following code between your <head> and </head> tags:

<script src="scripts/gen_email.js" type="text/javascript"></script>

Displaying an E-mail Address

Now whenever you want to display a certain e-mail address, insert the following code where you want the address displayed:

<script language="javascript" type="text/javascript">
<!--
generate_address( "part1" );
//-->
</script>

You will want to exchange part1 with the first part of your e-mail address. If you e-mail address is Sales@yourdomain.com you will substitute part1 with the word Sales.


Include this anywhere on your page that you want to display the e-mail address. So instead of using the code:

<a href=mailto:something@yourdomain.com>something@yourdomain.com</a>

You will use:

<script language="javascript" type="text/javascript">
<!--
generate_address( "something" );
//-->
</script>

It will produce the same results, but also make it so your address is hidden by spammers! Now that wasn't too hard, was it?

Hosting Center

  User:
  Pass:
Remember Me

Contact RPS

We offer many contact options:


Phone: (888) 777-1815
Request Callback
Free Consultation
RPS Online Center
Customer Support

RPS Locations


New York
622 Rushmore Avenue
Suite 200
Mamaroneck, NY 10543

Arizona
1753 E Broadway Rd
Suite 101-255
Tempe, AZ 85282

Home | About RPS | Contact Us | Portfolio | Support | Resources | Club RPS | Terms & Conditions | Site Map

2010 © Copyright | All Rights Reserved. Server load time: 0.013442 seconds


accepted payments Secure Web Design New York Web Design
w3c htmlw3c_css