从第三方网站对 JavaScript 进行逆向工程
我正在寻找一种工具、扩展程序或其他实用程序,可以帮助我对第三方网站上的 JavaScript/jQuery 事件序列进行逆向工程。我试图在我的网站上实现类似的目标,并且我想首先了解这是如何实现的,以便能够理解序列本身。
有什么想法吗?
谢谢!
I am looking for a tool, extension or other utility that would help me reverse engineer a JavaScript/jQuery sequence of event on a third party website. I am trying to achieve something similar on my website, and I want to understand how this was made in the first place, to be able to understand the sequence itself.
Any thoughts?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用开发者工具的调试功能。例如萤火虫。您可以在您感兴趣的行处设置断点,然后可以单步执行 Javascript 代码。
You could use the debugging function of the developer tools. E.g. Firebug. You set the breaking point at the lines you are interested in and then you can step through the Javascript code.
如果逆向工程的意思是“看看它是如何工作的”。最好的选择是直接针对相关站点使用 Firebug。
If by reverse engineer you mean "see how it works". The best option would be to use Firebug directly against the site in question.