dump out window.navigator object
This commit is contained in:
parent
5031e98cd9
commit
453aa1a50f
|
@ -4,7 +4,7 @@
|
|||
<title>check.wit.com</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
width: 100em;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
}
|
||||
|
@ -46,8 +46,21 @@ document.write(navigator.appName + "<br><br>");
|
|||
<br>
|
||||
<FORM>
|
||||
<INPUT TYPE="text" VALUE= "dont change" NAME = "leavebutton"
|
||||
onChange= "alert('Please dont change this')">
|
||||
onChange= "alert('changing this will cause an alert')">
|
||||
</FORM>
|
||||
|
||||
<h2>All objects in window.navigator</h2>
|
||||
<table>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
for (var n in window.navigator) {
|
||||
document.write("<tr>");
|
||||
document.write("<th align='left'>" + n + "<\/th>");
|
||||
document.write("<th align='left'>" + window.navigator[n] + "<\/th>");
|
||||
document.write("<\/tr>");
|
||||
}
|
||||
</script>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue