书源的"脚本注入"是异步的吗? #3612
Answered
by
821938089
wanghaosjtu
asked this question in
Q&A
书源的"脚本注入"是异步的吗?
#3612
-
我想在下载了章节地址以后,翻译一下。 |
Beta Was this translation helpful? Give feedback.
Answered by
821938089
Dec 28, 2023
Replies: 2 comments 6 replies
-
脚本注入要返回内容,以此为请求响应执行正文规则 |
Beta Was this translation helpful? Give feedback.
3 replies
-
你不是注入脚本吗??代码是在浏览器里运行的 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你是要在Rhino里执行代码吗?你要在这里执行的话看你的报错是代码里用了类,Rhino不支持,你需要用babel做转译,转完才能执行。
书源的脚本注入是在浏览器里执行代码的,就是正文的webjs规则,需要用webview。