Re: XUL - How i get the code from the open website?

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.