On 20 Dec 2006 08:23:45 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is your observer running in an XPCOM component? If not, it won't work
> correctly after the window it's in is closed.
The code is runnning from an extension in Firefox. The script is loaded
by a xul overlay that overlays browser.xul
You should run it from a (JavaScript-implemented) XPCOM component.
There are a number of tutorials on that and a wizard that makes it
easy to get started:
http://ted.mielczarek.org/code/mozilla/jscomponentwiz/
Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom