D
DianaH
I want to add an email link to a site. I've heard it can be done so that
spammers can't scoop.
Does anyone know how this is done?
spammers can't scoop.
Does anyone know how this is done?
DianaH said:I want to add an email link to a site. I've heard it can be done so
that spammers can't scoop.
Does anyone know how this is done?
DianaH said:I want to add an email link to a site. I've heard it can be done so
that spammers can't scoop.
Does anyone know how this is done?
DianaH said:I downloaded spamspoiler but I guess it doesn't work on interactive
buttons. I had inserted an interactive button, for a visitor to click
to send an email ... but spamspoiler can't be open when another
window is open. Bummer.
Thanks for the tip though ... it'll come in handy elsewhere.
Diana
Larry said:You can also use Javascript. Only problem is you have to replicate the
code for each eamail or make it an include. Not sure how it would work
with your interactive button tho. The below is supposedly spiderproof
[???] <script LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
var showlink = "WEBMASTER";
var subject =
"?subject=Web Services Information Request"; var
showname = "webmaster"; var site = "yourwebsite.com";
document.write("<a href=" + "mail" + "to:" + showname + "@" + site
+ subject + ">" + showlink + "</a>")
// End -->
</script>
Larry wrote:
You can also use Javascript. Only problem is you have to replicate the
code for each eamail or make it an include. Not sure how it would work
with your interactive button tho. The below is supposedly spiderproof
[???] <script LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
var showlink = "WEBMASTER";
var subject =
"?subject=Web Services Information Request"; var
showname = "webmaster"; var site = "yourwebsite.com";
document.write("<a href=" + "mail" + "to:" + showname + "@" + site
+ subject + ">" + showlink + "</a>")
// End -->
</script>
I didn't mean to imply that JavaScript can't be used. Your script is in fact similar to what SpamSpoiler generates.
You don't have to replicate the code. It can be a function on an external .js file. Below are the JavaScript functions I use. These
open the default mail program with my return address filled in and a brief subject and text in the body
function myEmail()
{
var userTo = 'myname'
var domainTo = 'mydomain'
var domainext = '.com.au'
return userTo + '@' + domainTo + domainext
}
//------------------------------
function sendEMail()
{
var hometitle = "My Home Page Title"
var text = 'Email Us'
var userCC = ''
var domainCC = ''
var userBCC = ''
var domainBCC = ''
var subject = 'Response from ' + hometitle
var body = 'Please enter message here'
var CC = (userCC != '') ? userCC + '@' + domainCC : userCC
var BCC = (userBCC != '') ? userBCC + '@' + domainBCC : userBCC
document.write
( '<a onmouseover="window.status=\'Email Us\';return true;"'
+ ' onmouseout="window.status=\' \';return true;"'
+ ' href="mailto:' + myEmail()
+ '?subject=' + subject
+ '&cc=' + CC
+ '&bcc=' + BCC
+ '&body=' + body + '">'
+ '<img src="images/display/mailto.gif"><br />'
+ text + '</a>' )
}
The main problem as I see it (as do you by the looks of it) could be how to use this with interactive buttons.
I know nothing about them and have read warnings on this NG not to use them as they are Java based.
(Perhaps I should learn about them so that I can more confidently warn others why *not* to use them.)
Larry said:Thanx for the external js idea. How would you use this for multiple
email addresses though?
Larry said:Actually what I wanted was a way to encode various email contact
addresses on a site. You have given me the basics of what I need to
do.Thanx. Don't need a canned message as I don't do spam -
Q. I run FP2000 so can't use jimco's spamspoiler. Is there any other
way I can hide/protect an email address in a form?
Larry said:From the Jimco website: Spam Spoiler 1.0 is not compatible with
FrontPage 2000. It only works with FrontPage 2002 and later.
I think I'll just use the common js that you suggested for regular
email addresses and cope with spam from my forms.
I think thespammers have some new version that even fills in required fields in
a form. I may look into requiring entry of encoded characters that
must be read and manually input.
Howsoever...thanks for your help