Ok cool, thanks for the info. I ask mostly cause I've been having to debug some pages lately and hate working in the Safari 4 console without jQuery or MooTools. So I made myself a bookmarklet to inject one of the Frameworks easily. Code is here if anyone is interested: http://gist.github.com/218423
On Oct 25, 10:04 pm, Aaron Newton <[email protected]> wrote: > This error is coming from the Google tools, which document.write the scripts > in (so must happen before the DOM closes). You can always inject MooTools > into the page at any time. > > > > On Sun, Oct 25, 2009 at 9:02 PM, pradador <[email protected]> wrote: > > > Let's say I'm on a page and want to use MooTools after the page is > > done loading for whatever reason. Is it ok to load the MooTools script > > dynamically at that point by injecting a script element into the head > > of the document? I tried doing it via the Google AJAX library api and > > got a "Must be done before DOMload" error or something like so I > > thought I'd ask why that is.
