Post Archive

› March 20, 2003

Bookmarklet flood

  • Reported by pixy

One more bookmarklet for today. It makes a simple DOM inspector of active window and it's document. Tested in IE6/XP, IE5/OSX and Mozilla (OK); Opera and Safari (failed).

Update - Correction: In Safari it works, too.

Comments

1. March 21, 2003 02:53 PM

Quote this comment

Nate Posted…

Pixy this is great - I was testing it out here using Safari, and it looks like the result page is packed with information. Can you explain it further for simpletons like myself?

2. March 21, 2003 05:04 PM

Quote this comment

Liorean Posted…

Nice. Remembers me of the DOM tree viewer tool I created for ie5+ browsers some years back... that never went into a bookmarklet, though.

3. March 23, 2003 09:39 AM

Quote this comment

pixy Posted…

Nate: it's really stupid simple work. The script just asks for all properties of the "window" object, sorts them by their kind (object/array/property/method) and lists them. That's all. All the power is inside the DOM (Document Object Model) of the browser. Every information about the window, the environment and the content is stored here, just to be listed.