In the Firefox extension that I am writing, I have a variable containing some data that I want to have access to both in the actual extension and in the extension settings area. When Firefox loads, my extension code initializes the variable with the correct data. But, when I open the parameter dialog (which is contained in another XUL file) and try to use the same variable, the variable was not initialized. Both of my XUL extension files use the same JavaScript source file, but it looks like both XUL files initialize new copies of the variable. How can I get this variable to share?
Thanks!
Scott source
share