0

我试图查看当我在网站上执行某个操作时触发了哪些 Javascript 函数。但是,我似乎找不到合适的解决方案来为我做这件事,而且我不能手动浏览整个 JS 代码,因为它很多,而且我对 JS 并不是那么好。

任何帮助,将不胜感激。

4

3 回答 3

1

使用 Chrome 并按键盘的 f12 键显示调试界面。您可以从“源”选项卡逐步调试。

于 2013-04-16T19:41:45.187 回答
0

You might want to look into "Visual Event". It's a Chrome Extension that lets you inspect events that are bound to elements on the page. It also exists as a bookmarklet for other browsers.

It won't help you with all events that are happening on the page, but it at least shows you the ones that are bound to elements.

于 2013-04-16T19:44:33.223 回答
0

使用 Firebug ( https://getfirebug.com/ ),一个 Firefox 插件。

于 2013-04-16T19:41:39.087 回答