»
EnglishFrenchVietnamese

Print - Browser Information script - JavaScriptBank.com

Full version: jsB@nk » Browser » Browser Information script
URL: https://www.javascriptbank.com/browser-information-script.html

Browser Information script © JavaScriptBank.comThis JavaScript will display the details of your current browser. The name of the browser, the platform name, the browser version, and if it is Java enabled.

Full version: jsB@nk » Browser » Browser Information script
URL: https://www.javascriptbank.com/browser-information-script.html



JavaScript
<script language="javascript"><!-- Beginvar navName = navigator.appName ;var brVer = navigator.userAgent; var brNum; var reg = new RegExp('/');function verNumIE() {   var brVerId = brVer.indexOf('MSIE');   brNum = brVer.substr(brVerId,8);}//Copyright (c) 2002 Coyotee Labs Romania (www.coyoteelabs.go.ro)//This script can be used freely as long as all copyright messages are intact.//Visit WWW.COYOTEELABS.GO.RO for more scriptsfunction verNumOt() {   var brVerId = brVer.search(reg);   brNum = brVer.substring(brVerId+1);}//  End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<SCRIPT LANGUAGE="JavaScript"><!-- Beginif (navigator.appName == 'Microsoft Internet Explorer') {  verNumIE() ;} else {  verNumOt() ;}//Copyright (c) 2002 Coyotee Labs Romania (www.coyoteelabs.go.ro)document.write("<CENTER>");document.write("<TABLE BORDER=2>");document.write("<CAPTION Align=Top><b>Your Browser Informations</b></CAPTION>");document.write("<Tr>");document.write("<td><b>Browser Name : </b></td>");document.write("<td>",navName,"</td>");document.write("</Tr>");document.write("<Tr>");document.write("<td><b>Platform Name : </b></td>");document.write("<td>",navigator.platform,"</td>");document.write("</Tr>");document.write("<Tr>");document.write("<td><b>Browser Version : </b></td>");document.write("<td>",brNum,"</td>");document.write("</Tr>");document.write("<Tr>");document.write("<td><b>Is Java enabled ? : </b></td>");if ( !(navigator.javaEnabled()) ) { java="No" ;} else { java="Yes" ;}document.write("<td>",java,"</td>");document.write("</Tr>");document.write("</TABLE>");document.write("</CENTER>");//  End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->