René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Predefined Javascript Objects

The following script lists all properties of the window object.
<script type='text/javascript'>

  function write_properties(o) {
   if (typeof(o) == 'object') {
     document.writeln("<ul>" );
     for (x in o) {
       document.writeln("<li>" + x + " (" + typeof(o[x]) + ")");
     }
     document.writeln("</ul>");
   }
  }

  write_properties(window);

</script>