Hide sidebar for none http/https pages

Can I make the site bar only display when it match a pattern?

e.g. like we can for page_action:

"show_matches": ["http://*/*", "https://*/*"]

I would like to avoid the the sidebar can be displayed at the Firefox start page and extension pages like: moz-extension://

You can manually disable and enable the action button, I believe, but in general sidebars are intended to always be available content.