Home > Software engineering >  Simulation web operations, alert popups
Simulation web operations, alert popups

Time:10-05

Operated by IHTMLDocument2 IE, to simulate the operation page (words with qt its website more convenient operation, but the page only support IE6... Saying this site's security)
If you meet in the js alert the popup window, will block the process
Because the page load is multithreaded, but as long as one out of the box, the page load is stopped, that rev threads to kill this dialog box again, also of no help,
The search on the net, students can use this in c #
WebBrowser1. ScriptErrorsSuppressed=false;
Equivalent to your browser is set to not allow the pop-up window,
Could you tell me how to do VC?

CodePudding user response:

Don't VC will not be able to access webBrowser1. ScriptErrorsSuppressed?

CodePudding user response:

Hook off messagebox function

CodePudding user response:

Handle your message bounced js function, etc., and disable it for yourself
  • Related