|
megabuff -> AntiSPAM e-mail address. (7/29/2006 9:22:25)
|
Copy/paste the correspoding code to display your e-mail address on your webpage. Doing it this way prevents your e-mail address from being picked up by Spambots (spam robots) that harvest e-mail addresses automatically from the internet. Step 1) Copy the first portion of the script and paste it in the HTML code of your web page. This first portion of the script should be pasted between the <head> and the </head> tags of your web page. <SCRIPT LANGUAGE="JavaScript"> var user; var domain; var suffix; function jemail(user, domain, suffix){ document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>'); } </script> Step 2) Copy the following code and paste it on the <body> of your website. Modify the three different fields to display your actual username, domain name and domain extension <SCRIPT LANGUAGE="JavaScript"> jemail("webmaster", "yourdomain", "com"); </script> Step 3) Finally, modify the three different fields to display your actual username, domain name and domain extension. This will display your e-mail address like this: noreply@bodiorganic.com. You can read it and think it's just text, but spam robots will not be able to read it, so it reduces the chance of it getting harvested by spammers. [:D] Kev
|
|
|
|