[Greasemonkey] GM 0.6.4 and new DOMParser()
Aaron Boodman
zboogs at gmail.com
Mon Dec 5 10:10:53 EST 2005
On 12/5/05, Nick Sieger <nicksieger at gmail.com> wrote:
> Would this be a way of bringing back compatibility definitions of a lot of
> the DOM-related objects? Have a compatibility script as part of the GM core
> with just a bunch of lines like:
>
> var DOMParser = new XPCNativeWrapper(window, "DOMParser");
> var XMLSerializer = new XPCNativeWrapper(window, "XMLSerializer");
> var HTMLBodyElement = new XPCNativeWrapper(window, "HTMLBodyElement");
> ... etc. ...
>
> then references to all of the DOM-related types would just work in scripts?
Yeah, something like that. I will do it for GM 0.6.5.
- a
More information about the Greasemonkey
mailing list