Re: Client capabilities (and JavaScript)

2002-05-02 Thread Simon Oliver
Michael Nino wrote: If the browser is Lynx then send text only version otherwise send JavaScript browser sniffer. The JavaScript sniffer can check for CSS, DHTML, DOM, plugins, etc... then redirect back to the server for the correct implementation. Do you have a sniffer example - I have an

Re: Client capabilities (and JavaScript)

2002-05-02 Thread Jamie LeTual
A sniffer can be much more subtle than that. If you have at least one page view beforehand, like some kind of neutral title page, you can stick an image tag where the SRC is a call to a mod perl script, with all you want to know set as parameters IMG SRC=/ninja-image.pl?has_plugin=1.3 You can

Re: Client capabilities (and JavaScript)

2002-04-30 Thread Michael Nino
Hi, With minimal JavaScript code you could identify the browser's capabilities. Here is how you might approach the task. If the browser is Lynx then send text only version otherwise send JavaScript browser sniffer. The JavaScript sniffer can check for CSS, DHTML, DOM, plugins, etc... then