JS to determine the version and browser type
<script type= "Text/javascript" > var Sys = {}; var ua = Navigator.userAgent.toLowerCase (); if (window. ActiveXObject) sys.ie = Ua.match (/msie ([\d.] +)/) [1] else if (document.getboxobjectfor) Sys.firefox = Ua.match (/firefox\/([\d.] +)/) [1] else if (window. Messageevent &&!document.getboxobjectfor) sys.chrome = Ua.match (/chrome\/([\d.] +)/) [1] else if (window.opera) Sys.opera = Ua.match (/opera. ( [\d.] +)/) [1] else if (window.opendatabase) Sys.safari = Ua.match (/version\/([\d.] +)/) [1]; The following is tested if (sys.ie) document.write (' ie: ' +sys.ie); if (Sys.firefox) document.write (' Firefox: ' +sys.firefox); if (sys.chrome) document.write (' Chrome: ' +sys.chrome); if (Sys.opera) document.write (' Opera: ' +sys.opera); if (Sys.safari) document.write (' Safari: ' +sys.safari); </script>
document.write ("<br>os:" +window.navigator.platform);
This is useless for 64, so I can barely use it.
JavaScript determines browser type and 32-bit 64-bit