1 function whatBrowser() { 2 3 document.Browser.Name.value=navigator.appName; 4 5 document.Browser.Version.value=navigator.appVersion; 6 7 document.Browser.Code.value=navigator.appCodeName; 8 9 document.Browser.Agent.value=navigator.userAgent; 10 11 }