Re: content negotiation

Andrew Daviel writes:
> User-agent checking scripts don't cache properly, meaning they're either
> slow bandwidth hogs for overseas users, or get the agent wrong.

I agree, which is why I called them horrible.

UA-checking scripts also can't tell whether I've disabled JavaScript or
image loading, so even getting the agent right is of limited use.

> You can always use e.g. JavaScript if supported to treat UAs differently

Can JavaScript tell whether image loading has been enabled?  Is suspect
(without having checked) that the navigator.mimeTypes[] property includes
image types even when their loading has been disabled.  A method analogous
to navigator.javaEnabled() would be useful.

--Jeff dLB


  = J-F Pitot de La Beaujardiere
  = delabeau@iniki.gsfc.nasa.gov
  = http://globe2.gsfc.nasa.gov/

Received on Friday, 2 May 1997 09:03:59 UTC