I want to obtain all links in a website,but
I'am so disapoint with the use of nsHTMLDocument.I have tried many way
to use it.
for One like this,
NS_NewHtmlDocument() to create a instance
but it has many link error,
about MOZILLA_INTERNAL_API.
I also try to access nsIHTMLDocument with XPCom Way, but I don't know
how to do it.
in xpcomviewer I can't find the nsIHTMLDocument in the tree. So I
don't know how to obtain
the interface exactly.I thought it may be don't expose to public to
use it.
And then I tried to include all .h & .cpp to create a new vc project
to build.
but it too hard to do this, million of files.and also million errors.
In the end I give up this way.
SO,
Have anyone have the idea of use the mozilla source to help obtainning
the links in a web page?
Contact me,with large thankness.Chi...@gmail.com