Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <div id="example"></div>
- <script type="text/javascript">
- txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
- txt+= "<p>Browser Name: " + navigator.appName + "</p>";
- txt+= "<p>Browser Version: " + navigator.appVersion + "</p>";
- txt+= "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
- txt+= "<p>Platform: " + navigator.platform + "</p>";
- txt+= "<p>User-agent header: " + navigator.userAgent + "</p>";
- document.getElementById("example").innerHTML=txt;
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement