开发者

View javascript events in browser

开发者 https://www.devze.com 2023-01-23 22:07 出处:网络
I\'m using Firefox.Is there something out there that will show me all the JavaScript events that are getting开发者_如何学Go triggered in real time?You can right-click an element in Firebug\'s HTML tab

I'm using Firefox. Is there something out there that will show me all the JavaScript events that are getting开发者_如何学Go triggered in real time?


You can right-click an element in Firebug's HTML tab and click Log Events.

You will then see every event received by that element in the Console tab.
You can even click one of them to explore the properties of the event object.


I have been using Visual Event for a few years now. It's a simple bookmarklet, meaning you just have to drag it into your bookmarks, and then click it while on your page to visually highlight all javascript events. You can also trigger the events at will, and probably a whole lot more. It's very easy and intuitive to use, and perfect to quickly find what you're looking for. Give it a try:

https://github.com/DataTables/VisualEvent

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号