Such as webBrowser1 opens a page, page has a hyperlink, the hyperlink is the Windows in the js. The open (), want to capture him in the webBrowser1_NewWindow events and use the system default browser to open, how to do
CodePudding user response:
Normally only get the webbrowser & lt; body> Within the content, if js page write in & lt; head> Won't get it, you can get the page content by webRequest, then get what you want the URLCodePudding user response:
Don't understand, can you elaborateCodePudding user response:
You can change your idea, direct call js function, window. Open the web pagehttps://www.cnblogs.com/feiyuhuo/p/5474790.html
Or, you write js code, call the original js code
Js and js is interlinked, after all
CodePudding user response:
Operating the dom,