Re: [whatwg] Why do we need Mozilla in userAgent string?

2011-06-14 Thread Ian Hickson
On Sat, 26 Mar 2011, Biju wrote: > > Nearly all browsers have word "Mozilla" in userAgent string, hence no > benefit in detecting that at server. > So why do we need "Mozilla" in userAgent string? On Sat, 26 Mar 2011, Oliver Hunt wrote: > > Because there are a huge number of sites out there that c

Re: [whatwg] Why do we need Mozilla in userAgent string?

2011-03-26 Thread Oliver Hunt
Because there are a huge number of sites out there that check for the existence of a feature by doing 'navigator.userAgent.indexOf("mozilla") != -1' or similar (or they decide that the absence of the mozilla term means that you're IE6), so not including the word "mozilla" in the user agent would

[whatwg] Why do we need Mozilla in userAgent string?

2011-03-26 Thread Biju
Nearly all browsers have word "Mozilla" in userAgent string, hence no benefit in detecting that at server. So why do we need "Mozilla" in userAgent string? Cheers Biju