If my own sidebar is left open when Firefox is closed, it is shown again on startup. I find this undesirable and would rather it remain hidden until opened manually. Is it possible to stop this happening?
I tried adding this bit of code to my extension's initialisation function in order to close the sidebar if it does appear:
toggleSidebar("mySidebar", false);
This doesn't seem too work too consistently - it seems to ignore the false parameter and just toggles the sidebar! When it does work correctly it has unwanted side effects - I need to open and close the sidebar once before it will show any content. Weird, but I assume part of Firefox's view as to the sidebar's visibility has got out of sync.
It seems others are having the same trouble on the MozillaZine forums.