It has been a while since I have played around with FF extensions but from
what I recall your dealing with XUL and not HTML. As such your dealing with
an XML document and all javascript DOM functions need to be namespaced.
Currently Mootools does not support this.

On Wed, Dec 10, 2008 at 9:31 AM, gabriel munteanu <[EMAIL PROTECTED]>wrote:

>
> i am trying to make an extension and on the javascript part i want to
> use mootools.
> i get into problems when i create an Element.
> when i say : var el = new Element('div') , it gives me a XUL element
> and methods like getElements() do not work with it - maybe others too.
> then i did var el = $(window.content.document.createElement('div'));
> this is a XPCWrapper in my debugger - venkman - , and it still has errors.
> can you tell me if mootools works well in developing extensions, or i
> should drop the idea?
>
> regards,
> jgabios
>

Reply via email to