Converting userscript from non-sandboxed to sandboxed
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
.
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
.
Anyone knows any guides?
Non-sandboxed userscripts: ones with @grant none
Sandboxed userscripts: all others