Event Spy is a Firefox extension that lets you watch JavaScript events as they occur.
DOM Event Spy adds a context menu item to nodes in DOM Inspector's tree view that allows you to watch events that pass by the selected node.
Note: You must have DOM Inspector installed to use Event Spy.
Usage: To use Event Spy, open the DOM Inspector, right-click any node, then choose the "Watch events..." option.
Requirements:
· Firefox: 1.0 – 3.0b2
What's New in This Release:
· Small change to one XUL file to make Event Spy work with Firefox 3.x. (Tested on 2.0.0.10 for Windows and 3.0b1 for Linux.)
· No other changes.
Product's homepage
What's New in This Release: [ read full changelog ]
· bugfix: broken by DOMi 2.0.10. Event Spy now manages its own Event Log tree, instead of using DOMi scripts. Removing those scripts will reduce the chances of further such problems
· Watch Events dialog now has a new button "Listeners". This will display a panel that lists all event listeners attached to the target node, including the ones set by Event Spy. Note the Handler field of this new panel will display the handler code, so will likely be cropped for listeners not set by Event Spy. Clicking a row in the panel will popup another panel showing the complete handler code. These new panels can be dragged, and have a close button on the title bar
· Watch Events dialog now has a new group above the Event Log called "Event Phase". You can choose which event phase(s) to watch for. Selecting "Bubbling" will cause Event Spy to attach a bubbling event listener to the target node (for all events you select), while selecting "Capturing" or "Target" (or both) likewise attaches a capturing event listener