I am jealous that y'all can get *ANY *script to run. [?] For some unknown
reason my Chrome/Chromium doesn't seem to even recognize the
--enable-user-script command.  Aaron and I have bashed this around to death
and cannot figure it out.  Anyway, best wishes with Adsweep, it is one of
the scripts I would like to run as well.

On Thu, Jan 29, 2009 at 3:06 AM, Charles L. <[email protected]> wrote:

>
> Hello Aaron,
>
> Thanks for your reply. Yes, this is for AdSweep. Maybe you have a good
> idea offering support to inject user scripts before any DOM is loaded,
> but when the user script itself injects HTML tags (<script>, <style>)
> into the document, the begining of the DOM has to be loaded (at least
> the <head> section). If you make it possible, that would be perfect
> for a script like AdSweep because it currently doesn't work as good in
> Chrome as in Opera. In Chrome, if you have a fast connection to the
> Internet that loads the page instantly, the page loads and AdSweep is
> executed almost right away, but if you have a slow connection, it can
> take seconds before AdSweep is executed (not very good). On Opera, it
> seems the code is executed as soon as possible and AdSweep work as
> expected. Thanks.
> Sincerely,
>
> Charles.
>
>
>
> On Jan 29, 1:40 am, Aaron Boodman <[email protected]> wrote:
> > 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,
> >
>


-- 
I don't want to achieve immortality through my work... I want to achieve it
through not dying.

   Woody Allen

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

<<inline: 320.png>>

Reply via email to