Infocatcher / Sidebars_List

Adds drop-down list to switch sidebars, restartless extension for Firefox
https://addons.mozilla.org/firefox/addon/sidebars-list/
Other
1 stars 1 forks source link

Compatibility with Firefox 38.0a2+: unable to tweak sidebar header #10

Closed Infocatcher closed 9 years ago

Infocatcher commented 9 years ago

Trick: middle-click on sidebar splitter to call deprecated toggleSidebar() and correctly initialize sidebars. There is new API: SidebarUI.toggle(), SidebarUI.show() and looks like now we have notifications:

      let selBrowser = gBrowser.selectedBrowser;
      selBrowser.messageManager.sendAsyncMessage("Sidebar:VisibilityChange",
        {commandID: commandID, isOpen: true}
      );

[Upd] Will be notified only child process? D'oh...