Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

navigator.appName returns Navigator in the latest IE 11

$
0
0
Using Internet Explorer 11    

    Windows 8.1 updated Nov 17, 2013

Copy and paste this code, save as html and try is yourself:

<!

DOCTYPEHTML>



<

htmllang="en">

<

head>



<

metahttp-equiv="Content-Script-Type"content="text/javascript;charset=utf-8">

<

metahttp-equiv="Content-Type"content="text/html;charset=utf-8">



<

metaname="author"content="Charles Fisk">



<

title>Picture Domino</title>

<

scripttype="text/javascript">


   

functiondetector(){


       

varapp=navigator.appName+'\r\n';


       

varBver=navigator.userAgent;


       

alert(app+Bver)


   

}


 

 

</script>



</

head>

<

body>

   

<buttononclick="detector()">Navigator?</button>


   

<i>Click on the button and you get Netscape instead of the expected <u>Explorer</u></i>


   

<hr/>


    Using Internet Explorer 11

   

<p>


    Windows 8.1 updated Nov 17, 2013

</p>

</

body>

</

html>


 

 


Charles Fisk


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>