J. Scott Elblein
Well-known member
Let's say there's an img src=blah on a web page that I am loading with a webbrowser control, and I want to alter it to say img src=blahblah instead ...
What I've been doing so far is waiting for the document to complete, doing a .replace, then saving the file to the hard drive, and finally navigating to that local altered version.
I was wondering if it's possible to skip the step of replacing and reloading the local page, and instead, just dynamically alter the original source code of the page AS it's loading the first time. Can this be done?
What I've been doing so far is waiting for the document to complete, doing a .replace, then saving the file to the hard drive, and finally navigating to that local altered version.
I was wondering if it's possible to skip the step of replacing and reloading the local page, and instead, just dynamically alter the original source code of the page AS it's loading the first time. Can this be done?