Eventbug Watch JavaScript events finally in Firebug
softwareishard.com
softwareishard.com
I like how this displays the source code inline, though. WebKit just displays the event object, which is a bit more awkward.
This add-on will show you what JavaScript gets to run on a web page, even if it is obfuscated and generated on the fly. Simply open JavaScript Deobfuscator from the Tools menu and watch the scripts being compiled/executed.