Open rse opened 2 years ago
Hey Ralf,
Thank you for the request.
I've hot-patched the feature into production just now; it loads a specified JS file asynchronously. The passed URL needs to be URL encoded. If you'd need it to load synchronously, I can perhaps do that, but it will cause a delay to page loads.
'https://vdo.ninja/?js=https%3A%2F%2Fvdo.ninja%2Fexamples%2Ftestjs.js'
I can hot patch github if needed, but otherwise I'll include it with the v22 beta release, which I've been working on for a few weeks now.
(I'll need to chew on the security considerations of this feature long-term, but I don't see harm in it at the moment)
Great. Thanks for the quick change, Steve. The v22 beta release is just fine, I think. I'll test-drive it soon. Perhaps the first idea is to implement a somewhat smarter variant of &sticky on the device selection page. Let's see whether the JS script injection is strong enough to implement such a feature...
VDO.Ninja has the nice "&css" option for injecting a custom CSS style sheet. I use this for VDON-Call (https://github.com/rse/vdon-call/) and it works great. VDO.Ninja also could be running inside an