You are here: Re: Stopping email reapers « HTML « IT news, forums, messages
Re: Stopping email reapers

Posted by Peterken on 01/03/06 18:42

".:|:." <@.> wrote in message news:dpe72p$t0u$1@domitilla.aioe.org...
> Greg N. wrote:
>
>> You don't have to use a mailto: link (which, in the days of webmail, is
>> mostly useless anyway). Just display your
>> image, like on this page: http://coolhaus.de/ .
>>
>> If anything is spam proof, this is.
>
> The only problem is that you prevent any disabled person
> from contacting you (eg. blind people).
>
> I've used the same trick, but put the email with spaces
> between letters in the "alt" attribute of the image.
> No spam so far. I'm not sure about how a screen reader takes
> that though...
>
> Moreover, if so many sites create warped images in order to
> prevent OCR programs from reading text even from there, I
> wonder whether that's really a perfect solution.
> Example: the code you have to put into a Yahoo registration
> form is shown like this, to prevent automated registrations:
> http://tinyurl.com/an78j
>
> Question: How does a blind guy register with Yahoo?
>
> .:|:.

Ever tried this script ?
There's no "mailto" in there, so no sniffers find it.....


<!--
// Mask out email and fool sniffers The Complete Code
//------------------------------------------------------------

function Write_Email(Subject, ImageSource, AltText,secondrecipient)
{
var first = 'ma';
var second = 'il';
var third = 'to:';
var firstname = 'me';
var lastname = 'here';
var domain = 'someprovider';
var ext = 'com';

// admin address
var secondfstname = 'me';
var secondlastname = 'here2';
var seconddomain = domain;
var secondext = ext;
// not allowed yet
var bodytxt = true;

// some checks
if((Subject == "") || (Subject == undefined))
subject = "Just....."; // dummy subject
if((ImageSource == "") || (ImageSource == undefined))
alert("DEBUG : Forgot pic?\t"); // reminder
if((AltText == "") || (AltText == undefined))
AltText = ""; // nothing special

// creating the string
document.write("<a href=\"");
document.write(first );
document.write(second );
document.write(third );
document.write(firstname );
document.write(".");
document.write(lastname );
document.write("@");
document.write(domain );
document.write(".");
document.write(ext);
document.write("?");

// insert code for admin BCC
if(secondrecipient)
{
document.write("bcc=");
document.write(secondfstname );
document.write(".");
document.write(secondlastname );
document.write("@");
document.write(seconddomain);
document.write(".");
document.write(secondext);
document.write("&");
}

document.write("subject=");
document.write(Subject);

if(bodytxt)
{
document.write("&body=");
document.write("Just wanna say hello");
}

document.write("\"><img border=\"0\" src=\"");
document.write(ImageSource );
document.write("\" alt=\"");
document.write(AltText );
document.write("\" width=\"81\" height=\"40\">");
document.write("</a>");

}
//-->

Call it from within the body where you want it whiledefining its parameters
upon call
eg : Write_Email("Hi there", mailbox.jpg, "Click the box", "")

Don't forget to link to the scriptfile in the header.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация