Re: Some questions from CHI-WEB people

On Tue, 25 Dec 2001, Vadim Plessky wrote:

> On Monday 24 December 2001 22:00, Seth Rothberg wrote:
> [...]
> 
> Can you please consider attached sniffer (browser detection) code which I 

> Of course, you need to have JavaScript enabled to get this code working :-)
> // but you can't do any on-page browser detection without JavaScript, anyway.

But Javascript is not normally on in Lynx.  (in fact I don't know how to
enable it in Lynx or if it is even possible)

> You should make 4 branches of code if you want support all existing browsers
> It should be like this
> 
> if ( DOM) { ... dom code }
> else if ( doc_all ) { ... document.all code)
>  else if ( doc_layers) { ... document.layers code, for NN 4.x }
>    else { ...  all other browsers, supposely without DHTML support }
> 
> current userAgents say nothing about browser capabilities, so it's useless to 
> detect userAgent in most cases.
> And there is no warrantry that future versions of browsers will provide any 
> info in userAgent at all...

I say it again, there should be no assumption what so ever that there is
any user side support for anything.

Bob

   ASCII Ribbon Campaign                        accessBob                       
    NO HTML/PDF/RTF in e-mail                   accessys@smartnospam.net       
    NO MSWord docs in e-mail                    Access Systems, engineers       
    NO attachments in e-mail,  *LINUX powered*   access is a civil right 
*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
THIS message and any attachements are CONFIDENTIAL and may be
privledged.  They are intended ONLY for the individual or entity named
above. If you are not the intended recipient, Please notify the sender as
soon as possible. Please DO NOT READ, COPY, USE, or DISCLOSE this
communication to others and DELETE it from your computer systems.  Thanks

Received on Monday, 24 December 2001 20:29:22 UTC