Code:
<html>
<head></head>
<body>
<h1>Contoh Kode Melihat Versi Browser</h1>
<script language=”javascript”>
document.write(“Nama browser <strong>” + navigator.appName +
“</strong><br>”);
document.write(“Versi browser <strong>” + navigator.appVersion +
“</strong><br>”);
document.write(“User agent <strong>” + navigator.userAgent +
“</strong><br>”);
</script>
</body>
</html>
Sumber:
http://dhanizone.net/melihat-versi-browser-menggunakan-javascript.html