Knowing your browser details through javascript
By admin | April 7, 2008
Hey all sometimes you need to display someone browser details
This can be easily done through javascript
Syntax:
<html>
<body> <script type="text/javascript"> var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version);
document.write("Browser name: "+ browser); document.write("<br />"); document.write("Browser version: "+ version); </script> </body>
</html>
Isn’t that easy
Thanks
krates
Topics: Javascript | Comments Off on Knowing your browser details through javascript
Related Links: