Hi Charles,

I don't think the relationship between DOMContentLoaded and images
loading is very well defined. We do run scripts in DOMContentLoaded,
but it could be that that WebCore has already started loading images
for some resources by the time that happens (that actually seems like
a sensible thing to do!). The only real guarantee for DOMContentLoaded
is that it happens before window.onload and very soon after the DOM is
complete.

I assume this is for AdSweep? I was working on adding support for
injecting user scripts before any DOM is loaded. Perhaps when this is
done, you could use it to get in earlier, before image loads start.

- a

On Wed, Jan 28, 2009 at 12:02 PM, Charles L. <[email protected]> wrote:
>
> Hello,
>
> I think Chromium doesn't run user scripts when it should. From the
> Greasemonkey documentation, it says user scripts are run on
> DOMContentLoaded, but in Chrome, user scripts are run after some
> images have started loading. Can you confirm this bug?
> Thanks,
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to