[Greasemonkey] Re: location = BodyEnd: solved!

Aaron Boodman zboogs at gmail.com
Sun Jan 23 01:41:05 EST 2005

Ok, I checked this in. Not totally comfortable it doesn't break some
scenarios, so I didn't do the download. If you have time, please
download the latest browser.xul and replace the one in your profile
directory. Let me know if you have any problems.


On Sat, 22 Jan 2005 16:48:48 -0800, Aaron Boodman <zboogs at gmail.com> wrote:
> Dang.
> Whirlwind of research on how to implement this again today and I
> finally discovered DOMContentLoaded event. It's an undocument,
> proprietary event that Mozilla throws and which is accessible from
> script when, um, the dom's content is loaded (that is, before all the
> images and what not have loaded). But it works! If you're at all
> interested, you can try something like this in JavaScript Shell (where
> window == a browser chrome window).
>   window.document.getElementById("appcontent").addEventListener(
>     "DOMContentLoaded",
>     function(e){alert(e.view.location.href)},
>     false);
> So I'll try and integrate this into the code tonight. Happy day!

More information about the Greasemonkey mailing list