> From the embedding FAQ:
>
> --snipp--
>
> How do I get the DOM document from the web browser object?
>
> nsCOMPtr<nsIDOMDocument> doc;
> nsCOMPtr<nsIDOMWindow> window;
> webBrowser->GetContentDOMWindow(getter_AddRefs(window));
> if (window) {
> window->GetDocument(getter_AddRefs(doc));
> }
>
> --snip--
>
> /JeremiasHeh, I felt pretty stupid after I posted and then found it later. Thank you. :) Dave
