JS - Anti Spam email help
JS - Anti Spam email help
- Started
- Last post
- 4 Responses
- Dancer
I have:
dancer @ mywebsite . comon my site and want to prevent robots/spiders from spamming me. I have seen a few ways round (JavaScript) but I have lost the links. Could you tell me your easiest and quickest way of preventing unwanted mail.
Thanks
- Dancer0
ok found this if anyone wants to know:
http://learningdump.blogspot.com…
- northern0
Put this in an external file or head of your doc
function mailer(user,domain){
locationstring = "mailto:" + user + "@" + domain;
window.location = locationstring;
}Call this from your link
name@domain.co.uk
- northern0
Sorry, try this link...
- UndoUndo0
look at banning bad bots with htaccess, webmasterworl.com has a great thread on this (assuming your using apache)