hello, i read outa some mag that got given to me about email spamming. (PC Authority or something) It says about how spiders crawl the net and get emails from websites, it then has a javascipt which makes the spiders skip the email. I followed the insturction in the book but i still cant get to work.
Below is the code;
1. how do i make it come up on the page and work?
2. tell me what was wrong.
This post was edited on 06-27-2004 at 07:18 AM by Web_Master.
--------------------------------------------------------
5 out of 4 people don't understand fractions.
--------------------------------------------------------
still doesnt explain the mistake the magazine made.
This post was edited on 06-27-2004 at 10:04 AM by Web_Master.
--------------------------------------------------------
5 out of 4 people don't understand fractions.
--------------------------------------------------------
What the magazine should print is:
<script language="javascript">
<!--
document.write('<a href=mailto:'+'jacobcass'+'@'+'hotmail.com>jacobcass'+'@'+'hotmail.com</a>')
-->
</script>
Anyways, this will stop indeed some spiders/crawlers, but certainly not all! It will only stop those who look at the html source, not the ones who look at the html-page itself.
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
RE: javascipt / html - help
PHP is server-side yes? Therefore, is t places more load on the server. A JavaScript/HTML solution puts the load on the client, which I believe is better all round.
quote:Originally posted by CookieRevised
What the magazine should print is:
<script language="javascript">
<!--
document.write('<a href=mailto:'+'jacobcass'+'@'+'hotmail.com>jacobcass'+'@'+'hotmail.com</a>')
-->
</script>
Anyways, this will stop indeed some spiders/crawlers, but certainly not all! It will only stop those who look at the html source, not the ones who look at the html-page itself.
If you changed the code to as below then the spiders shouldnt pick it up
--------------------------------------------------------
5 out of 4 people don't understand fractions.
--------------------------------------------------------