jxhczhl / JsRpc

远程调用(rpc)浏览器方法,免去抠代码补环境
1.16k stars 297 forks source link

这种办法已经被禁用? #15

Open an-Underpriviliged-ZJUer opened 11 months ago

an-Underpriviliged-ZJUer commented 11 months ago

chrome

error: EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost: http://127.0.0.1:".

jxhczhl commented 11 months ago

看issue1 https://github.com/jxhczhl/JsRpc/issues/1 正常攻防。。。善于搜索

an-Underpriviliged-ZJUer commented 11 months ago

大佬,请教一下 浏览器禁用了 eval 怎么办,我现在只能传参而不是代码了