Run-time script injection

Generally, we’re trying to avoid this type of custom injection as its hard to maintain / configure. I’m curious about the problem you’re trying to solve, and if there may be a more general solution to it?
If not, perhaps we can add something to make it more configurable.
The injectScripts was really added just to support Ruffle, and even that is a bit iffy now because ruffle is also needed at replay time.