Evertjan. wrote:
Robert wrote on 16 feb 2005 in comp.lang.javas cript: IE and other browsers can report that they are using any
browser the user wishes. I had to change iCab to say that
it was IE on Windows because some author only allowed IE
in his site.
Personally,
I feel no need to accomodate users that give wrong browser info.
The information is only wrong where it is possible to say what would be
right. As the information in question usually originates in the HTTP
User-Agent header it would be the RFC for HTTP that defined what would
be right or wrong in the context of that header, and the HTTP RFCs make
no requirements of the content of the user agent headers. Indeed as the
RFC for HTTP 1.1 was written at a time when the most popular browser
around (IE 4) was itself spoofing by default it was probably not
practical for the authors of the RFC to make any more than suggestions
about its contents.
Richard.