Michel Gutierrez wrote:
a js function is attached as a field of the window object where it is declared. so, from your toolbar button handler, you can try _content.yourFunction()
Except that won't work because it's insecure... You're have to do _content.wrappedJSObject.yourFunction(), and be _really_ damned sure that you trust the page to take over the user's computer if need be.
-Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
