What's the monitorEvents() equivalent for FireFox?
You can try this
function monitorEvents(element) { var log = function(e) { console.log(e);}; var events = []; for(var i in element) { if(i.startsWith("on")) events.push(i.substr(2)); } events.forEach(function(eventName) { element.addEventListener(eventName, log); });}
Source --- https://paul.kinlan.me/monitoring-all-events-on-an-element/
Or if you want to monitor events on a specific DOM element(s) you can try this --- Examine Event Listeners on MDN