Detecting Browser Type |
||
Source | Resulting Output | |
<SCRIPT LANGUAGE="JavaScript"> <!-- window.onerror = null; manufacturer = navigator.appName; versionNum = parseFloat(navigator.appVersion); document.write(manufacturer); document.write(" "); document.write(versionNum); //--> </script> Return to HTML index |
|
Detecting Operating System |
|
Source | Resulting Output |
<SCRIPT LANGUAGE="JavaScript">
<!-- var OpSys = "Unknown"; var OpSysVer = " "; if (navigator.userAgent.indexOf('Win')
!= -1) { document.write("Operating
System = "); Return to HTML index |
|
Navigator Object |
|
Source | Resulting Output |
<SCRIPT LANGUAGE="JavaScript"> <!-- document.write("navigator.appName = '"); document.write(navigator.appName); document.write("'<br>navigator.appVersion = '"); document.write(navigator.appVersion); document.write("'<br>navigator.appCodeName = '"); document.write(navigator.appCodeName); document.write("'<br>navigator.userAgent = '"); document.write(navigator.userAgent); document.write("'"); document.write(<br>navigator.javaEnabled() = "); document.write(navigator.javaEnabled()) //--> </script> Return to HTML index |
|
Current & Referring Page |
|
Source | Resulting Output |
<script LANGUAGE="JavaScript"> <!-- document.write("Previous = '"); document.write(document.referrer); document.write("'<br>Current = '"); document.write(document.location); document.write("'"); //--> </script> Return to HTML index |
|
Last Updated: $Date: 2006/03/22 21:08:26 $ GMT ($Revision: 2.13 $)