safe email address?

G

Gernot Frisch

Hi,

is this code:

<script type="text/javascript">
var a,b,c,d;
a = "x";
c = "kungfu";
b = "y";
d = "com";
document.write("<a href='mailto:" + a+b+"@"+c+"."+d+"'>eMail</a");
</script>

a safe way of hiding email address from spam bots? Or will they know
javascript and produce the (e-mail address removed) ??
 
R

Randy Webb

Gernot Frisch said the following on 3/23/2006 6:02 AM:
Hi,

is this code:

<script type="text/javascript">
var a,b,c,d;
a = "x";
c = "kungfu";
b = "y";
d = "com";
document.write("<a href='mailto:" + a+b+"@"+c+"."+d+"'>eMail</a");
</script>

a safe way of hiding email address from spam bots?
No.

Or will they know javascript and produce the (e-mail address removed) ??

There are some that will.

Want a fool-proof way to keep a spammer from getting the email address?
Use a form, submit it to the server, the server sends you the email
address without it ever appearing on the web page.
 
G

Gernot Frisch

There are some that will.

Want a fool-proof way to keep a spammer from getting the email
address? Use a form, submit it to the server, the server sends you
the email address without it ever appearing on the web page.

OK, thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,260
Messages
2,571,038
Members
48,768
Latest member
first4landlord

Latest Threads

Top