Re: XUL - How i get the code from the open website?
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
hi neil, thank you for your support! var test = content.document.body; // i get the HTMLBodyElement here i see the properties https://developer.mozilla.org/en-US/docs/DOM/HTMLBodyElement i cant see a possibility to extract the code from the body node. is there a method how i can do this? for example i will extract the code from a website that contains only in the body node. then i will strip all html tags. in php there is the function strip_tags. is this possible with javascript? best regards ebody