Discussions » Development

Converting userscript from non-sandboxed to sandboxed

§
Posted: 03 April 2021

Anyone knows any guides?

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

woxxomMod
§
Posted: 03 April 2021

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.

Post reply

Sign in to post a reply.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元