bradyj
05-19-2003, 05:10 PM
The spammers have already hit my site... again:mad:, and I've tried the below scripts, but I'm still getting hit -- does anyone have any other solutions (I've searched the topics and not seen much, or may have missed something)? I'm not necessarily looking for a Javascript, so I didn't post myself in that forum -- my IT team is very much against CGI (as they deem it highly hackable), so I'm trying to think of some other alternatives to hide our email addresses. Moderators: if this is the wrong forum, by all means move me.
For now, we can't go SSI with this site, but that will be in the future -- this is what I used for now, below --
I've tried this script:
script type="text/javascript" language="JavaScript"
var Username = "info";
var Hostname = "belairedisplays.com";
var Mailcommand = "mailto:" + Username + "@" + Hostname + "?subject=Website visitor from belairedisplays.com"
that links to this image:
img src="images/email.gif" alt="email us" class="emailus" onclick="parent.location=Mailcommand"
I've seen this, but still caused spam on other people's sites:
script language="JavaScript"
var name = "protected";
var domain = "cdrsoft.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
Any alternatives
For now, we can't go SSI with this site, but that will be in the future -- this is what I used for now, below --
I've tried this script:
script type="text/javascript" language="JavaScript"
var Username = "info";
var Hostname = "belairedisplays.com";
var Mailcommand = "mailto:" + Username + "@" + Hostname + "?subject=Website visitor from belairedisplays.com"
that links to this image:
img src="images/email.gif" alt="email us" class="emailus" onclick="parent.location=Mailcommand"
I've seen this, but still caused spam on other people's sites:
script language="JavaScript"
var name = "protected";
var domain = "cdrsoft.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
Any alternatives