There is a discussion about that, over here:
The 17th post shows an extension being used to control the visibility of extension palettes.