----- Original Message ----
> From: Priyank Bolia
> To: dev-extensions@lists.mozilla.org
> Sent: Friday, May 9, 2008 10:22:20 AM
> Subject: Re: Firefox API to replace text with HTML
>
> Ya, the DOM API, but then I have to parse the DOM stuff, to make sure that
> the text is part of visible stuff, and not part of like image alternate
> text. So, this is a very tricky thing. Or am I missing something.
> Thanks,
> Priyank


You can also use .innerHTML on any element to update its content:
http://developer.mozilla.org/en/docs...ment.innerHTML


__________________________________________________ __________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ