mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
自定义源禁用 Function 构造函数调用
This commit is contained in:
parent
31288df1fb
commit
154ee13953
@ -525,6 +525,9 @@ globalThis.lx_setup = (key, id, name, description, version, author, homepage, ra
|
||||
globalThis.eval = function() {
|
||||
throw new Error('eval is not available')
|
||||
}
|
||||
globalThis.Function = function() {
|
||||
throw new Error('Function is not available')
|
||||
}
|
||||
|
||||
const excludes = [
|
||||
Function.prototype.toString,
|
||||
|
Loading…
x
Reference in New Issue
Block a user