[Greasemonkey] How to specify script injection time

Aaron Boodman zboogs at gmail.com
Sun Jul 17 13:40:21 EDT 2005

On 7/17/05, Steve Krulewitz <shooz at mm.st> wrote:
> Aaron Boodman wrote:
> >>It seems like there might be a few possibilities, the most obvious would
> >>be to replace the stock nsHTTPHandler with a custom version.
> >
> > Yep, that's exactly what I tried to do, and is definitely the sexiest
> > solution. I'll have to post the code at some point.
> Yes, I would love to see how this was done :)

Let me get 0.4 out the door, and this will be my next piece of business.

> Keeping GM 100% JS would be the best situation, but having some C++ in
> there may not be the end of the world.  The new Google Toolbar uses
> natively compiled XPCOM services, and the install was as simple as any
> other extension on my system (x86 linux).
> Hopefully, such a hack will indeed be possible in JS, otherwise, would
> the complexity of building the native code outweigh the benefits of this
> style of injection?

I don't think so.

More information about the Greasemonkey mailing list