If you are writing in a chrome overlay using a XUL window to inject
from that is wrapped in a XPCNativeWrapper there are no JS collisions
to worry about.  You can operate this way inside their DOM without
hurting the script on the page.  I have been working on some plug and
play adapters for working with XUL and FF addons that look to be
getting interest from Rey Bango of the FF dev team so hopefully it
will get published when it is done and can ease some of these
developer issues with DOM and namespace...

- Daniel

On Mar 23, 3:55 pm, Dimitar Christoff <christ...@gmail.com> wrote:
> Interesting one, this... There's a site using jquery but not in the
> compatibility/namespaced mode. I'd love to be able to create a
> greasemonkey script for it using mootools but it overwrites certain
> jquery functions like $ etc, causing site exceptions and the GM script
> to fail.
>
> Any ideas, has anyone done something similar or is this just too much
> work to bear? I could, of course, learn some more jquery and use that
> instead but... you know. It feels wrong to do so.

Reply via email to