Обсуждения » Разработка

Converting userscript from non-sandboxed to sandboxed

Anyone knows any guides?

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

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.

Ответить

Войдите, чтобы ответить.