How to invoke custom Javascript in System.Windows.Forms.WebBrowser?
问题 I'm loading third party webpage that contains following code <script type="text/javascript"> onDomReady(function() { some_code1; }); </script> into WebBrowser component. After some_code1 had executed I need to do some manipulations with Dom that will make some_code1 invalid. The question is how to determine that some_code1 had executed? I cant't do private void web_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { DoRequiredManipulations(); } Since this event will