One way is to traverse the DOM tree of the page. Search each text node
for the text you want to replace, and, when found, simply perform the
substition in the text node. The page view will update immediately.

However, for non-well-formed HTML pages, I'm not sure how or if mozilla
builds a nice DOM. You can run a few simple experiments to find out.



--- Peter Zotov <[EMAIL PROTECTED]> wrote:

> yes, i can use onload listener, but how i can REPLACE words?
> _______________________________________________
> Project_owners mailing list
> Project_owners@mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Project_owners mailing list
Project_owners@mozdev.org
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to