monitorEvents Log all the events dispatched to an object Event objects are then logged to the Console Useful for debugging if you are not sure what events are triggered monitorEvents(object [, events]) unmonitorEvents(object)
monitorEvents(window)
monitorEvents(window, "click")
monitorEvents(document.body, "dragenter")
monitorEvents(document.body, 'mouse')
unmonitorEvents(document.body)
monitorEvents($0)
unmonitorEvents($0)