I am trying to retrieve the url mentioned in the "embedded" object of
the "page info" in the mozilla browser.
My current approach is to call 'GetAttribute'.But I am not sure what
is the attribute name or if this is the right way.
nsCOMPtr<nsIDOMHTMLObjectElement> nodeAsObject (do_QueryInterface
(aNode));
nsCOMPtr<nsIDOMHTMLAppletElement> nodeAsApplet (do_QueryInterface
(aNode));
if (nodeAsObject) {
nodeAsObject->GetAttribute(XXXXXXXXXXXX)
NRTRACE("!!! is an Object\r\n");
ProcessObjectNode(nodeAsObject, embeds);
}
XXXXX denotes where i am lost:-)
Any help?
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding