On Jun 22, 2005, at 3:48 AM, Joachim Haagen Bøe wrote:
Does anyone know if there are any good sources for information
(preferably with implementation) of ways to parse the user-agent
properly ?
There is no good way to browser sniff.
There will always be problems.
For example, Firefox on Mac pretends to be IE... that is to say, it
mimics IE's attempts to be seen as "Mozilla" (as just about every
browser does).
And then you get Safari which claims to be "like Gecko"
And Opera, which will pretend to be IE which pretends to be "Mozilla"
Really finding IE is nearly impossible, given all the variations of
browsers which try to look like it, lest they be blocked out of a
site by someone whose brain-dead browser sniffer thinks that they
know best what browsers should be "supported"
Browser sniffing is the dark side. Use with extreme caution, and
only when forced.
Perhaps if you could say a bit more about what you were trying to do?
TjL
President and Founder, Anti-Browser Sniffing Alliance
Our motto: "Sniff glue, not browsers!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden