My question is: how can I detect when a tab (with some page yet loaded) is taken to foreground (so I can change accordingly the content of my sidebar)? Is there some proper event to be used with addObserver()?
You may catch the select event on your tab. In XUL this could read: <tab id="tab_foo" label="bar" onselect="doSomething()"/>
HTH Daniel
