This is obviously a hilariously and unreasonably insecure request, given that it's essentially side loading scripts based on arbitrary metadata, but I'll ask anyway - are there any plans to support @require in metablocks?
I have a script that, predictably, @requires a version of JQuery. I could (probably) just turn this into a separate userscript, if necessary, but it's definitely not the most obvious failure, so if the tag isn't planned to be supported, is there a chance that the editor could warn on the use of unsupported metablock tags? Might be a bit much to ask, but also might save a bit of work wrt. "my script is broken????" in the future.
Thanks again 😄
This is obviously a hilariously and unreasonably insecure request, given that it's essentially side loading scripts based on arbitrary metadata, but I'll ask anyway - are there any plans to support
@requirein metablocks?I have a script that, predictably,
@requires a version of JQuery. I could (probably) just turn this into a separate userscript, if necessary, but it's definitely not the most obvious failure, so if the tag isn't planned to be supported, is there a chance that the editor could warn on the use of unsupported metablock tags? Might be a bit much to ask, but also might save a bit of work wrt. "my script is broken????" in the future.Thanks again 😄