How to use getEventListeners in Chrome Dev Tool?
问题 I tried to trace back which function hooked into a click event of .someclass . I open Chrome Dev Tool and type this getEventListeners(document.querySelector('.someclass')); The result is this Object {} I cannot click and open it to find out the name of the object or the source code that handle click event. Is there a way to find out? UPDATE 1: Followed Krasimir's advise below. There could be only two events: mousemove or mouseover . So how do I find out the exact function handling that event