Re: [wdvltalk] doc elements IE/NS, I can't remember

2005-03-28 Thread [EMAIL PROTECTED]
Hey, Bj, why not just use one of the obfuscators available online? There are 
tons of them. Google on "email address obfuscate" and you will find 
everything from the very simple to the quite complex. Nothing is perfect, of 
course, but almost all of these will handle most of the harvesting robots 
out there. Of course, for 100% coverage I don't think anything short of 
Turing testing will do, and even that can be obviated by a human doing 
manual collection. Not likely, but possible.

Cheers,
Scott
- Original Message - 
From: "Bj" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, March 26, 2005 2:57 PM
Subject: Re: [wdvltalk] doc elements IE/NS, I can't remember


Ta for the response
This really sounds like a place where you should
use a contact form
Yebbut, sometimes a mailto: is still what's wanted, a contact form is a 
good
way of getting offensive comments sent to you pretty much anonymously with
little effort by the sender but a mailto: has to come from a working email
address, which takes a little more trouble to disguise.  However it's 
pretty
annoying when the address gets collected for spamming.  I wondered if the
page could have a dummy href address for the mailto: till the visitor was
actually about to click on the link, thus hiding it from bots

Seems to work, but needed a bit of tinkering
You could get a collection of all the links on the page
In theory the document.anchors[] collection is that very thing.  Prior to
NT4/IE5 I think this was empty but maybe we can finally forget NS2 and 
IE3?

Your code gave me a few ideas and I may now rewrite mine to look more
elegant (I know it's really, really time I got to grips properly with DOM
stuff, old fashioned JS and I'm fine but...  I will browse to that link 
you
gave and see if it will go in my head.)

Thanks again, I did get it to work in NS and IE but it's too messy to be
pleased with at the moment.
B
 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


Re: [wdvltalk] doc elements IE/NS, I can't remember

2005-03-26 Thread Bj
Ta for the response

> This really sounds like a place where you should
> use a contact form

Yebbut, sometimes a mailto: is still what's wanted, a contact form is a good
way of getting offensive comments sent to you pretty much anonymously with
little effort by the sender but a mailto: has to come from a working email
address, which takes a little more trouble to disguise.  However it's pretty
annoying when the address gets collected for spamming.  I wondered if the
page could have a dummy href address for the mailto: till the visitor was
actually about to click on the link, thus hiding it from bots

Seems to work, but needed a bit of tinkering

> You could get a collection of all the links on the page

In theory the document.anchors[] collection is that very thing.  Prior to
NT4/IE5 I think this was empty but maybe we can finally forget NS2 and IE3?

Your code gave me a few ideas and I may now rewrite mine to look more
elegant (I know it's really, really time I got to grips properly with DOM
stuff, old fashioned JS and I'm fine but...  I will browse to that link you
gave and see if it will go in my head.)

Thanks again, I did get it to work in NS and IE but it's too messy to be
pleased with at the moment.

B


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: [wdvltalk] doc elements IE/NS, I can't remember

2005-03-26 Thread Stephen Caudill
Sounds like an interesting approach!

Standard Disclaimer:
---
This really sounds like a place where you should use a contact form
and server side processing, yada, yada, yada.
---

Um...  let's see.  You really have lots of options as to how to obtain
the href of that link.  You could get a collection of all the links on
the page as such:

var arLinks  =  document.getElementsByTagName('a');

you can then loop through it and look for a signifier... let's say
you've decided any link with the class name "reconfigurator" should
behave in the manner you describe.

for(i=0;iwhatever

then grab it using getElementById:

var uniqueElement = document.getElementById('uniqueID');

then you can do things like:

uniqueElement.onmouseover = myFunc(uniqueElement.href);

HTH,
Stephen

(btw a good DOM scripting reference is at
http://www.mozilla.org/docs/dom/domref/)




On Fri, 25 Mar 2005 20:23:40 -, Bj <[EMAIL PROTECTED]> wrote:
> I am trying to do something sneaky to avoid address harvesting, and
> rewriting the href of a mailto: link on a mouseover or onFocus event (so it
> only contains the real email address if a human is about to click on it).
> 
> Can someone remind me (imminent brain failure): NS is happy with referencing
> an anchor by
> 
>   document.anchors[name].href=
> 
> IE doesn't seem to like this, although it was quite happy to do
> 
>   name.href=
> 
> (which NS didn't like)
> 
> Do I have to do browser sniffing even for something this trivial?
> 
> Ta for any help and for those with some time off for Easter, happy holidays!
> 
> Bj
> 
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
> use the web interface http://e-newsletters.internet.com/discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
> 
>   http://www.wdvl.com  ___
> 
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
> 
> Please include the email address which you have been contacted with.
>

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.