Monday, April 11, 2011

Visual Event Javascript Bookmarklet


When working with events in Javascript, it is often easy to loose track of what events are subscribed where. This is particularly true if you are using a large number of events, which is typical in a modern interface employing progressive enhancement. If things go wrong, it can be difficult to trace down.
It is due to this Allan Jardine has put together a Javascript bookmarklet calledVisual Event which visually shows the elements on a page that have events subscribed to them, what those events are and the function that the event would run when triggered. This is primarily intended to assist debugging, but it can also be very interesting and informative to see the subscribed events on other pages.
visual-event

No comments:

Post a Comment