On May 31, 3:37 pm, Sam Larison <
samlari...@gmail.com> wrote:
> If it was
> working for you previously then it's probably because the site was complex
> enough to slow down processing of your script just enough that when the
> script started to run <head> already existed in the document.
Ah, I see. Actually, for the same site -
google.com - it behaves
differently.
In Firefox 3.6, there is a HEAD element at document-start, but in
Firefox 10/11/12, there is no HEAD element. That's why it works in one
but not the other.
Neither one has a BODY element at document-start.
So perhaps there is some difference in the FF versions which cause the
HEAD to be available in 3.6, and fooling me into thinking that GM was
using some other method to insert the CSS before the page loaded.
I will queue up styles and poll for HEAD to insert them. Thanks!
Matt Kruse