Don't bother with that. Just install an onload listener in the browser
overlay. Then:
this.appcontent.addEventListener("load", this.pageLoad, true);
from the onload callback. You can run your own code each and every time
a page loads.
--- Matthew Waymost <[EMAIL PROTECTED]> wrote:
> A Greasemonkey script is definitely the way to go. I'm not too
> familiar with
> GM scripting, but that's exactly the kind of thing that it's made to
> do.
>
> If you don't want the overhead of GM, you would probably have to get
> the
> page on load (via XMLHttpRequest I think, but I could very well be
> wrong),
> and do a quick global string replace.
>
> Matt
>
> On 12/8/05, Michael Johnston <[EMAIL PROTECTED]> wrote:
> >
> > i don't know how it works, but could you not use a grease monkey
> script?
> >
> >
> > On 12/8/05, Peter Zotov <[EMAIL PROTECTED]> wrote:
> > > Help me please!
> > > I need to write an extension that will be replace all, as an
> expample,
> > "%" symbols to " percent! " strings in every loaded web page.
> > >
> > > Peter.
> > > _______________________________________________
> > > Project_owners mailing list
> > > [email protected]
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > _______________________________________________
> > Project_owners mailing list
> > [email protected]
> > http://mozdev.org/mailman/listinfo/project_owners
> >
> > _______________________________________________
> Project_owners mailing list
> [email protected]
> 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
[email protected]
http://mozdev.org/mailman/listinfo/project_owners