The changes were not saved to disk because you obviously cannot access the remote js file, but they will take effect when javascript reaches these lines of code.
You can add a breakpoint in front of the place where you want to dynamically add the code, reload the page, add the desired code and press ctrl-s. Ignore the warning you mention about the file system and enjoy.
So you can follow these steps and just ignore the warning.
source share