<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>
|