Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event Listeners - Equivalent for Firefox?

I noticed Chromium has an interesting feature in the inspector/debugger: Event Listeners.Chromium Inspector

I haven't found the equivalent feature in Firefox Firebug. I saw a question from a couple years ago that said Firefox does not have an equivalent feature, but I'm wondering if there has been any update on this... Is there an addon yet for Firebug that lists listeners? Or, is there something about Firefox's implementation that makes this not practical?

like image 469
NoBugs Avatar asked Jul 03 '12 07:07

NoBugs


People also ask

Are event handlers and event listeners the same?

Note: Event handlers are sometimes called event listeners — they are pretty much interchangeable for our purposes, although strictly speaking, they work together. The listener listens out for the event happening, and the handler is the code that is run in response to it happening.

How do I view event in browser?

Right-click on the search icon button and choose “inspect” to open the Chrome developer tools. Once the dev tools are open, switch to the “Event Listeners” tab and you will see all the event listeners bound to the element. You can expand any event listener by clicking the right-pointing arrowhead.

What are the two types of event listeners?

The click event: The onclick event occurs when the user clicks on an element. The dblclick event: ondblclick event occurs when the user double-clicks on an element.


1 Answers

Now, this feature is natively in the firefox inspector, you not need firebug anymore :) http://flailingmonkey.com/view-dom-events-in-firefox-developer-tools/

like image 92
korvus Avatar answered Oct 10 '22 07:10

korvus