JavaScript Program to identify running browser

Write a JavaScript program that identifies a running browser.



Source Code
<html>
<head>
<title>Identify Running Browser</title>
</head>
<body>
	<script type="text/javascript">
		document.write("<b>Browser Version :</b>" + navigator.appVersion);
		document.write("<br><b>User Agent :</b>" + navigator.userAgent);
		document.write("<br><b>Browser Name: </b>" + navigator.appName);
		document.write("<br><b>Browser Code Name: </b>" + navigator.appCodeName);
		document.write("<br><b>Browser Platform: </b>" + navigator.platform);
	</script>
</body>
</html>
Output