fix: anti-detection
This commit is contained in:
parent
8da2e7a1c8
commit
4b2d721661
1 changed files with 5 additions and 1 deletions
|
@ -11,8 +11,12 @@ export const makeNative = (() => {
|
|||
return function () {
|
||||
if (l.has(this)) {
|
||||
const _fn = l.get(this) || parseInt // "function () {\n [native code]\n}"
|
||||
if (l.has(_fn)) { // nested
|
||||
return _fn.toString()
|
||||
} else {
|
||||
return _toString.call(_fn) as string
|
||||
}
|
||||
}
|
||||
return _toString.call(this) as string
|
||||
}
|
||||
}, true)
|
||||
|
|
Loading…
Reference in a new issue