Re: Email address in web interface
- Posted by Robert Craig <rds at ?apidEuphoria.com> Jun 29, 2007
- 653 views
Aku wrote: > Hi Rob. > > Please, could you NOT put sender email address in the EUforum web interface > page? > Even if you replace "@" with "at", the simplest address-miner can recognize > it. > > I suggest you to use javascript function to show the email address. > > Just a simple one like below will work: > > In the Euphoria code, instead of > }}} <eucode> > puts(email) > </eucode> {{{ > > change to: > sequence raw=sprint(email); > puts("<script>document.write(String.fromCharCode(" & raw[2..length(raw)-1] & > "))</script>"); Your idea sounds good, but some people have issues with Javascript, and I'm not sure if it would work well in an RSS feed. It would also be a bit harder for me to handle internally, given the complicated way I've coded certain things. What I've done, is knock out one character from the domain name and replace it with '?'. This will make the address unusable. If you aren't sure what the missing character should be, you can check a previous post by the same person, since I choose the missing character position using rand(). This additional protection only applies in address fields. Elsewhere in the body of a message, you will just have at-sign replaced by " at " as before. Obviously a human spammer could figure out the missing character, but the economics of spamming require automated pick-up of thousands of addresses. If the spammer has to manually repair one address at a time, it's not worth it. I guess I'm going to also have to tweak the hash function that determines the color and font for people's names. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com