Discussies » Ontwikkeling

Converting userscript from non-sandboxed to sandboxed

§
Geplaatst: 03-04-2021

Anyone knows any guides?

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

woxxomMod
§
Geplaatst: 03-04-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.

Reactie plaatsen

Log in om antwoord te geven.

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