How to get the html source code
Alvin4u <[email protected]> Sun, 4 Dec 2011 19:52:51 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <6bb6f04c-45f8-4f69-b779-3adaa5feaf3e@da3g2000vbb.googlegroups.com> |
Hi every one,
i'm trying to get the html's source code when the browser load
completed;
now i exec this script to that;
"(function(){return document.documentElement.innerHTML})();"
how can i use xpcom api to do this?
there is another question is "how can i use jscript to invock c++
function from html page?"
Could you help me ?
Thank's
alvin