I can confirm the Firefox issue. The userAgent string of my Firefox
2.0 is:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11

So ist obvious, where the returnes version 1.8.1.11 comes from.

Regarding IE7: I have the same incorrect version returned on XP and
Vista.

@fuzziman: do you have the latest updates installed on your Vista
machine? I'm not 100% sure, but I believe the userAgent string has
changed with one of the recent updates. If this is the case, this
problem could appear on your Vista system as well sooner or later.

And while we are on the subject: for Opera 9.25 under Vista
jQuery.browser.version returns nothing at all. The userAgent string:

Opera/9.25 (Windows NT 6.0; U; en)


This is a perfect example, why we shouldn't rely on browser sniffing.
I actually never used jQuery.browser.version, but some plugins do
(e.g. Thickbox).




On 13 Jan., 11:43, fuzziman <[EMAIL PROTECTED]> wrote:
> I can confirm that this is the case, on a WindowsXP machine with IE7
> installed, I have the same userAgent string, so get the same result.
>
> There is no problem with my Windows Vista IE7 because the userAgent string
> is different.
>
>
>
>
>
> NetHawk wrote:
>
> > Don't know, if this has been observed by anybody else. Just wanted to
> > let everybody know, that jQuery.browser.version returns 6 as version
> > in IE7. This might have to do with a changed appVersion or user agent
> > string. Mine are (in IE7):
>
> > userAgent:
>
> > Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0
> > (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET
> > CLR 2.0.50727; .NET CLR 3.0.04506.30)
>
> > See the "MSIE 6.0" in both strings.
>
> --
> View this message in 
> context:http://www.nabble.com/jQuery.browser.version-doesn%27t-recognise-IE7-...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.- 
> Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Reply via email to