讨论 » 开发

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.

发表回复

登录以发表回复。