File tree 2 files changed +6
-4
lines changed
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 1
1
// ==UserScript==
2
2
// @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
5
5
// @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
7
7
// @author CC11001100
8
8
// @match *://*/*
9
9
// @run -at document-start
10
10
// @grant none
11
11
// ==/UserScript==
12
12
( ( ) => {
13
13
14
+ // 尽量唯一有区分度即可
14
15
const globalUniqPrefix = "cc11001100" ;
15
16
16
- // 在第一次设置jquery的时候添加Hook
17
+ // 在第一次设置jquery的时候添加Hook,jQuery初始化的时候会添加一个名为$的全局变量
17
18
Object . defineProperty ( window , "$" , {
18
19
set : $ => {
19
20
You can’t perform that action at this time.
0 commit comments