讨论 » 开发

Converting userscript from non-sandboxed to sandboxed

§
发布于:2021-04-03

Anyone knows any guides?

Non-sandboxed userscripts: ones with @grant none
Sandboxed userscripts: all others

woxxom管理员
§
发布于:2021-04-03

Usually there's no need to convert anything unless the script makes modifications to global properties/variables of window in which case you'll need to switch to unsafeWindow.

发布留言

登录(不可用)以发布留言。

长期地址
遇到问题?请前往 GitHub 提 Issues。