Exactly what I was thinking.. How do you know when to remove it? If you inject it, users might not be aware of it and then weird stuff can happen
It's injected after the script is loaded, so it doesn't persist on disk.
This is easily verifiable by trying it on any script and observing that no changes are made to the actual file.
Oh ok that’s clever! Thanks for the anwser