I'm creating a Chrome Extension which modifies a script served by the server (which I have no control over) to add new functionality to the website, and I had the following idea: Block the original script via WebRequest, webRequestBlocking. Send the url of the blocked script to a script injected into the page. GET this url from the page's script. Edit a part of the code (string). Eval the string. (Another working way is to redirect it to a local...
Originally asked by teg_brightly on Stack Exchange (stackoverflow) (CC BY-SA 4.0).
Variant 97.
Variant 937.