J. Scott Elblein
Well-known member
Hi all
I have a little bit of a complicated(?) problem?
I have a website that requires a login and pass, which sends to the next page, nothing unusual there; on the next page, there is some javascript that periodically sends a popup dialog, which the user must click.
The timer code for that popup is right there in the source made out of javascript. I was wondering if it would be possible using the webbrowser control to edit (maybe vastly increase the timer value) or completely strip out the javascript code (quite a few lines)?
I am thinking, but not sure, that the documentcompleted event is only fired after the page has finished loading, so my thinking is that is too late. I would like to do the editing or stripping after the code is sent to my program, but before displayed in the browser control, so that the code in the webbrowser is actually my altered code.
There is a streaming media player on the same page, so I don't want my editing to affect that.
Is this possible, if so, how? Sorry for the long description.
Thanks! Hope everyone is having happy holidays so far!
I have a little bit of a complicated(?) problem?
I have a website that requires a login and pass, which sends to the next page, nothing unusual there; on the next page, there is some javascript that periodically sends a popup dialog, which the user must click.
The timer code for that popup is right there in the source made out of javascript. I was wondering if it would be possible using the webbrowser control to edit (maybe vastly increase the timer value) or completely strip out the javascript code (quite a few lines)?
I am thinking, but not sure, that the documentcompleted event is only fired after the page has finished loading, so my thinking is that is too late. I would like to do the editing or stripping after the code is sent to my program, but before displayed in the browser control, so that the code in the webbrowser is actually my altered code.
There is a streaming media player on the same page, so I don't want my editing to affect that.
Is this possible, if so, how? Sorry for the long description.
Thanks! Hope everyone is having happy holidays so far!