From: Oliver S. <rev...@us...> - 2012-06-05 20:38:34
|
On Tue, Jun 5, 2012 at 12:55 PM, Angel Herráez <ang...@ua...> wrote: > > Ah, yes. I see. Well, MSIE 9.0 reports navigator.userAgent to be > "Mozilla", so that takes care of > > that! > > Realy? What fun! > I guess that will break many sniffing javascripts :) > > Oh yes, that happens since the dark ages if the browser wars: MS Internet Explorer 3.0 UserAgent string is: "Mozilla/2.0(compatible;MSIE3.0;AK;Windows95)" And even today my Chrome tells me he is: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5" It's really no fun write a browser detection. :-/ Oliver |