Maybe check transformed code and print warning or throw Error if use @grant GM.* but found GM_* in code or vice versa.
Maybe transform code and add @grant both API and append GMC or gm4-polyfill to @require. ( I think this very hard and maybe not metablock plugin do... )
Maybe check transformed code and print warning or throw Error if use
@grant GM.*
but foundGM_*
in code or vice versa.Maybe transform code and add
@grant
both API and append GMC or gm4-polyfill to@require
. ( I think this very hard and maybe not metablock plugin do... )