Is it possible that some timeouts are firing or being set before the greasemonkey script is being injected which I think happens at the DOMContentLoaded stage, which is right before the onload event. Right now GM doesn't support the // @run-at document-start header which injects a script before other scripts are even download. You might try an extension or a different platform that supports the imperative. Google Chrome userscripts/extensions allow this for example, which is what makes my plugin work correctly.
I for one hope it comes to GM because my script will be a lot better once it starts working that way, I'm not sure why extension development for firefox is so impossible to set up but every time I try to dev GM it never works or says that its incompatible and stops trying to load it after the first time no matter what I change, I want document-start bad enough to try to develop it but I'm not having any luck so far, so in the meantime you might see if you have better luck doing this using something other than GM. I think its easier to compile firefox than modify GM. In any case I know they are looking for someone to develop @run-at document-start On Tue, Mar 2, 2010 at 1:19 PM, Hugo <[email protected]> wrote: > On Mar 2, 5:04 pm, Sam <[email protected]> wrote: > > at document start@ that would be a better way :) > > I'm sorry, I do not understand what you are saying. > > -- > You received this message because you are subscribed to the Google Groups > "greasemonkey-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<greasemonkey-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/greasemonkey-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
