[clug-talk] anti email harvesting (was Website Changes)

Pete pvdw at criticalcontrol.com
Wed Nov 17 15:22:01 PST 2004


Nick W wrote:

>On November 17, 2004 03:50 pm, Pete wrote:
>  
>
>>Nick W wrote:
>>    
>>
>>>On November 17, 2004 03:32 pm, Niels Voll wrote:
>>>      
>>>
>>>>Have you considered asking the list for ideas / experiences / web
>>>>resources how to avoid email harvesting by spammers?
>>>>        
>>>>
>>>I second that...
>>>      
>>>
>>I made it as simple as this :
>>
>><html>
>><head>
>>  <script>
>>    function displayMail(doc, prefix, display) {
>>    doc.write("<a href=\"mailto:" + prefix + "@" + "mydomain.com\">" +
>>display + "</a>");
>>}
>>  </script>
>></head>
>><body>
>>  <p>In case you want to <script>displayMail(this.document, "peter",
>>"e-mail")</script> me...</p>
>></body>
>></html>
>>
>>Works for me...
>>    
>>
>
>very nice, I've never seen that approach. Hopefully no spammer is going to the 
>trouble of actually parsing the code.
>
Most 'scanners' actually search for the href="mailto: string
screwing that up helps a lot.
Since I use this the new e-mail addresses I put on a website are spam free (for 3 years now)

Pete




More information about the clug-talk mailing list