I'm not sure what you need exactly, but there is the DOM3 Node.textContent API.

Load a web page, and then type this in the browser URL bar:
javascript:alert(document.documentElement.textContent)

If you want the HTML text, then you will need to simply load the
document URL again.  That could result in hitting the web server.  The
browser doesn't keep the original, downloaded text anywhere.

-Darin


On 2/21/06, Srinivasa Raghavan <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> Is it possible to get the text content of a web page displayed in the
> browser.
>
> Please let me know which API i should use to retrieve the text content.
>
> Thanks & Regards,
> Raghavan
> _______________________________________________
> dev-tech-xpcom mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-xpcom
>
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to