Javascript running "under XUL" and add-on owner
Yves Dolce <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hello everyone, Two quick questions from a XUL newbie: 1. In Javascript, how can I detect I'm running in the context of XUL and not a plain Web page? 2. How can I know the name of the add-on who lead the call to my function? The add-on that I would find if I'd look at the call-stack. Thanks a lot!