Ruutert
Ruutert

Reputation: 395

Why does the W3 Schools browser check show the wrong browser version for my copy of Internet Explorer 8?

I've got Internet Explorer 8 installed on my computer, but when I do this browser check on W3 Schools it says that it’s IE6.

I don't understand it, is this a bug or what?

Please help me.

Upvotes: 0

Views: 367

Answers (2)

kennebec
kennebec

Reputation: 104840

Curious as to how you are checking- have you tried the IE way? It returns undefined for anything not IE, or the mode in use on the page if it is IE

 navigator.IEmode= (function(){
    /*@cc_on
    @if(@_jscript_version> 5.5){
        return document.documentMode? document.documentMode:
        window.XMLHttpRequest? 7: 6;
    }
    return (@_jscript_version);
    @end
    @*/
})()
alert(navigator.IEmode)

Upvotes: 1

Widor
Widor

Reputation: 13285

Are you sure you're not confusing the versioning with the browser name?

For example, IE6 is called '6', but the actual version shows up as 4.0:

Browser Version: 4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Upvotes: 2

Related Questions