討論 » 開發

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.

發表回覆

登入以回復