IE 7 returns as version number 6
dgmelvin
Status: New User - Welcome
Joined: 26 Nov 2008
Posts: 2
Reply Quote
When I run the script and when I am on your pages I see that the IE verison number shows as 6. Here is my user agent string.

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)

I don't know why MSIE is in the list twice, but it is returning the second one instead of the 1st. I commented out the conditional code at line 625 of the full blown script and got it to return 7 correctly. But I'm worried that may break other IE detection.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4124
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
<thread locked, dual post from here
Back to top
Display posts from previous:   

All times are GMT - 8 Hours