Hello, I have been working with the Microsoft DOM and gettiing access to java script on a particular page is quite easy. But I do not understand how to properly get this from XPCOM. I simpley do the following in IE...
CComPtr<IDispatch> pDisp;
spBrowser->get_Document(&pDisp);
CComQIPtr<IHTMLDocument2> spDoc(pDisp);
CComPtr<IDispatch> pScriptDisp;
HRESULT hr = spDoc->get_Script(&pScriptDisp);
