Thank *you*!
That did the trick in a much simpler way.

Now, the only problem is the advertisement scripts that load anyway and make
the entire process slow.

But, my extension is so not important anymore and not popular, that I think
I am going to abandon it.


☆PhistucK


On Sat, Dec 19, 2009 at 18:33, Strav <[email protected]> wrote:

> Yep. I did the exact same thing:
>
> "With my content scripts set to "before_start", I tried to inject a
> style tag as the last node of the header of the current page. The
> styles are properly overridden although, if the body takes long
> enough
> to load, I can see the previous styling still applied - flicker
> remains."
>
> Obviously, I didn't used before start but document_start.
>
> But I found the solution to my problem. If the style is inserted
> like:  document.documentElement.insertBefore.it does the trick.
>
> Thanks for your response anyways!
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en.


Reply via email to