This is a Firefox extension, and everything works very well.
BUT ... I keep getting the annoying "gBrowser is not defined" error in the console because of this line:
gBrowser.selectedTab = gBrowser.addTab("chrome://ire_TPB/content/options.html");
I try, of course, to open a new tab and load this local html page.
What am I doing wrong?
Thanks!
Win 7 ult
Ff 7.0
source share