简体   繁体   English

可以判断哪些处理程序函数与给定元素绑定在哪些事件上的工具?

[英]Tool that can tell what handler functions are bind on which events with a given element?

Do you know is there any software that can tell what handler functions are bind on which events with a given element on the page, probably works like 'Inspect Element' on Firefox. 您是否知道有什么软件可以告诉在页面上具有给定元素的事件上绑定了哪些处理程序功能,可能类似于Firefox上的“检查元素”。

Thx in advance. 提前谢谢。

There is a feature for this in latest builds of Webkit, in the Developer tools. Webkit的最新版本在开发人员工具中具有此功能。

I don't know if it's available in any stable builds yet, but I'd suggest downloading latest Safari or Chrome, and if it's not there, then get a Webkit nightly from http://nightly.webkit.org 我不知道它是否可以在任何稳定的版本中使用,但是我建议您下载最新的Safari或Chrome,如果不存在,则每晚从http://nightly.webkit.org获取一个Webkit。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM