Browser sniffing is a discredited, flawed approach.



Web Developer
17 years ago
15 years ago


(Reporter: Jim Ley, Assigned: hsivonen)






17 years ago
The page describes how to "sniff browsers", calling it the "ultimate browser 
sniffer" this is despite the fact it only "sniffs" a minority of browsers 4 
(IE, Opera, NN, and HotJava) against 17 others that I know of, which don't 
include Mozilla or IE based variants which also have different UA strings. 
(Amiga-AWeb, Ant Fresco, AvantGo, Bush Int. TV, Dreamcast, Escape, iBrowse, 
iCab, iConnector, Konquerer, NetBox, Omniweb, Oregano, Pogo, QNX Voyager 3, 
Star Office, WebTV) 

The Upgrade document 
has been purged of this flawed technique. (Remember pre Mozilla, the page was 
recommending that you code in mind that future versions of NN would be 
compatible with NN4.) This document also needs changing, it does massive damage 
to the likelyhood of scripts working in Mozilla and browsers based on it.


Comment 1

15 years ago
Gerv marked the page outdated last year. Can we close this as fixed? Or should
the issue of CVS removal be revisited?

Comment 2

15 years ago still has information
on layer and browser sniffing. Ian has updated the page several times, so I
suppose he still wants the page? reassign to Ian

Comment 3

15 years ago
Let's not over-morph bugs. This bug is about mentions browser
detection as a flawed approach and advocates object detection.

BTW, I'd prefer saying "This document is obsolete and the information in it
should not be relied upon. The practices described here are not recommended and
this document is provided only for historical reference." instead of "This
document is outdated and the information in it should not be relied upon. It may
no longer represent web authoring best practice." Would that be a strong enough
wording so we can close this bug?

Comment 4

15 years ago
moving stuff over to an outside-the-firewall email for the time being, looking
for people to pick these Help and doc bugs up for me.
Assignee: oeschger → oeschger

Comment 5

15 years ago
taking over some of Ian's bugs
Assignee: oeschger → stolenclover

Comment 6

15 years ago
I see no reason this bug can't be closed. Anyone object?

Comment 7

15 years ago
added Henri Sivonen's suggestion -> Henri
Assignee: stolenclover → hsivonen
QA Contact: rudman → stolenclover

Comment 8

15 years ago
-> fixed :-)
Last Resolved: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.