javascript - Question about viewing bound events? I hope seniors can give me advice.
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-19 10:31:13
0
1
522

The problem I encountered is that some websites use code written by their own js library or framework instead of jquery, but I would like to know how this effect is achieved. , is there any method?
ps: For non-jquery, using the $._data(DOMobject,'events') method in chrome and firefox does not produce results, and I cannot find the handler; other plug-ins: such as Visual Event are also unable to do anything; the above firefox element ev mark, if you click on it, you will see very original code, which is difficult to understand.
No matter what framework or library belongs to the category of js, is there any way to ignore the differences between various frameworks?
Is the event code found in Chrome like this obfuscated code? If so, how to restore it?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
我想大声告诉你

Update the answer after truly understanding the problem:
In the DevTool under Chrome, you can view the bound event handler of a certain element, but what you see is the obfuscated code. Do you want to get the pre-obfuscated code?
Unless it provides the corresponding .map file, it is impossible to see the code before obfuscation. One of the purposes they use obfuscation is to make the code less readable and prevent plagiarism.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!