Mshtml can be said to be a good parsing HTML tool, for like me has been without WebBrowser, directly with the socket or WebRequest HTTP communication
It is then parsed using Ihtmldocument2.write (HTML) to load the resulting HTML source.
But today we have a problem, that is, after loading the HTML into IHTMLDocument2, the following box pops up.
Search, seemingly only see people ask, did not see the solution, in fact, is a very simple thing, only need to load before using the following sentence code:
html = HTML. Replace ("sCript", "soript");
don't ask me what soript is, don't ask me what soript is, don't ask me what soript is, don't ask me what soript is, don't ask me what Soript is ...
This time also understand that the original IHTMLDocument2 is loaded into the HTML source after the script will be executed ... Will execute the script ... Will execute the script ... Will execute the script ...
Use IHTMLDocument2 to resolve pop-up "Do you allow cookies to be placed on your computer in order for the website to provide you with personalized information?"