Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Browser Info</title>
- <style type="text/css">
- <!--
- .test {
- font-family: Courier New, Courier, monospace;
- }
- -->
- </style>
- </head>
- <body>
- <div id="title"><h1 align="center"><strong>Browser Info</strong></h1> </div>
- <div id="browserinfo"></div>
- <script>
- document.write("Java enabled: " + navigator.javaEnabled());
- 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>";
- txt+= "<p>Cpu Type: " + navigator.cpuClass + "</p>";
- //txt+= "Java enabled: " + navigator.javaEnabled + "</p>";
- document.getElementById("browserinfo").innerHTML=txt;
- </script>
- <div align="center">
- <input name="reload" type="submit" class="test" onclick="document.location.reload(true)" value="Refresh" />
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement