[Greasemonkey] javascript scope between browsers
James Cowan
cowanj at freenet.co.uk
Thu Oct 19 06:07:15 PDT 2006
Hi
I am puzzled by javascript scope within greasemonkey/firefox extensions.
In normal web app, I can open a window (wdw = window.open(...) and then
within the parent call the child using wdw.someFunction() or within the
child execute a function in the parent using window.opener.someFunction.
Within a greasemonkey script or firefox extension, I want to open a window
and then make calls from parent and child to functions within the extension.
The standard web technique does not work - I guess because the functions are
not in the scope of the window but of the browser.
Is there any way around this?
James
More information about the Greasemonkey
mailing list