Navigator Object : Browser Info : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Browser Info »

 

Navigator Object



<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript">
     function displayBrowserInfo() {
          var browserStr = ""
          browserStr += "Browser: " + navigator.appName + "r"
          browserStr += "Version:" + navigator.appVersion + "r"
          browserStr += "Codename: " + navigator.appCodeName + "r"
          browserStr += "User agent: " + navigator.userAgent + "r"
          alert(browserStr)
     }
   
</SCRIPT>
   
<BODY>
<H1></H1>
<FORM>
<INPUT Type="button" Value="Show Browser Information" OnClick="displayBrowserInfo()"
</INPUT>
</FORM>
</BODY>
</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Browser Info