js log all events code example
Example: console log all events
monitorEvents(document.body); //log all events
monitorEvents(document.body, 'mouse'); //log all mouse events
monitorEvents(document.body); //log all events
monitorEvents(document.body, 'mouse'); //log all mouse events