Script to display the properties of JavaScript objects

This is a work that was in progress a few years ago. It kind of does something, but not everything I wanted, and surely not what you want. Interesting values to type in for variable name: self, window, navigator.