javascripts
 

SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & Ajax
Snippets
Online scripts

Ajax, DHTML
& JavaScripts

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers
Add script
Account login
Publisher list



 

Home > Scripts > DHTML scripts & JavaScripts > E-mail > Anti-spam e-mail address script

 

Anti-spam e-mail address script

AUTHOR: Public domain
TYPE: Freeware
BROWSERS: Javascript enabled all

This script allows you to place an e-mail link on your page while masking the address from spam robots. You can hide your e-mail address on a web page and avoid spammers grabbing it. The e-mail address is stored on the server in a disassembled form which is later re-assembled by the browser using Javascript. Spam robots generally perform simple text searches for valid e-mail addresses and they will not be able to harvest any e-mail addresses from your web pages if you use this script.


EXAMPLE


1) Insert this script in the <BODY> section where you want the email address to appear in the page.

then copy (CTRL-C) & paste (CTRL-V)

 

2) Define the parts of the e-mail address in this section of the script:

// Example for your_name@your_domain.com
 
var stb_domain = "your_domain.com"
// domain name
var stb_user = "your_name"
// the username


[BACK] [TOP]

 


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.