File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1+ .idea
Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name jQuery Hook
3- // @namespace https://github.com/CC11001100/crawler-js-hook-framework-public/tree/master/020- jQuery-hook
4- // @version 0.2
3+ // @namespace https://github.com/CC11001100/jQuery-hook
4+ // @version 0.3
55// @description 用于快速定位使用jQuery绑定到DOM元素上的事件的代码的真实位置,辅助逆向分析。
6- // @document https://github.com/CC11001100/crawler-js-hook-framework-public/blob/master/020- jQuery-hook/README.md
6+ // @document https://github.com/CC11001100/jQuery-hook
77// @author CC11001100
88// @match *://*/*
99// @run -at document-start
1010// @grant none
1111// ==/UserScript==
1212( ( ) => {
1313
14+ // 尽量唯一有区分度即可
1415 const globalUniqPrefix = "cc11001100" ;
1516
16- // 在第一次设置jquery的时候添加Hook
17+ // 在第一次设置jquery的时候添加Hook,jQuery初始化的时候会添加一个名为$的全局变量
1718 Object . defineProperty ( window , "$" , {
1819 set : $ => {
1920
You can’t perform that action at this time.
0 commit comments