This is like the question How to inject Javascript in WebBrowser control?
But i don't know how to transform 开发者_如何转开发this code into good old MFC C++ code. For example what is the InvokeScript method, i can't find it anywhere.
Isn't .NET webbrowser the same as IWebBrowser2 ?
You can find a CodeGuru article describing how to accomplish this here.
精彩评论