Some users of my extension have asked me how to remove the extension from the sidebar.
I read on Mozilla Connect that there currently is no way to remove or hide an add-on from the “new” sidebar introduced since Firefox 133 & 134.
I also couldn’t find a way to disable the sidebar_action API so I can’t offer an setting to users to disable this API.
If there currently is no solution to this problem, I’d kindly like to ask the Firefox dev team to consider adding a checkbox next to each extension using the sidebar_action API, so that users may decide if they would like to show or hide the extension in the sidebar, as is the case for “Firefox tools”:
Giving users the option to hide extensions from the sidebar would make Firefox more flexible. I hope the Firefox team considers adding this feature soon.
If you’re looking to hide or remove an add-on from the Firefox sidebar, try checking the extension’s settings or disabling the sidebar feature in about:config by setting sidebar.revamp to false. If no built-in option is available, you may need to wait for future updates.
The sidebar API cannot be disabled from an extension’s settings. Also, setting sidebar.revamp to false disables the entire sidebar, which is not what I’m looking for.
@dotproto Hi Simeon, are you aware if there are any plans to give users the possibility to hide or show extension using the sidebar_action API ? If not, would you mind passing this on to the dev team that’s worked on the recent sidebar improvements? Personally, I don’t understand why this hasn’t been implemented from day one. All it requires is a checkbox in front of each extension that uses the sidebar.
I’m not aware of any specific plans here. I just searched through Bugzilla and found an issue that seems to track this request: Bug 1944719.
If you have a Bugzilla account, you can express interest in this issue by using the Vote button in the Details section. You can subscribe to updates by using the Follow button at the top of the issue page or adding yourself to the CC list in the People section. Both following and CCing will add you to the CC list.