# Hide sidebar for none http/https pages

**URL:** <https://discourse.mozilla.org/t/hide-sidebar-for-none-http-https-pages/48884>\
**Category:** Development\
**Created:** [November 20, 2019, 2:02pm UTC](https://discourse.mozilla.org/t/hide-sidebar-for-none-http-https-pages/48884 "2019-11-20T14:02:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjemmo](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kjemmo](https://discourse.mozilla.org/u/kjemmo)\
**Post date:** [November 20, 2019, 2:02pm UTC](https://discourse.mozilla.org/t/hide-sidebar-for-none-http-https-pages/48884/1 "2019-11-20T14:02:38Z")

</div>

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://`

---

<div class="post-metadata">

**Author:** ![freaktechnik](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/freaktechnik/32/37766_2.png) [@freaktechnik](https://discourse.mozilla.org/u/freaktechnik)\
**Post date:** [November 23, 2019, 2:50pm UTC](https://discourse.mozilla.org/t/hide-sidebar-for-none-http-https-pages/48884/2 "2019-11-23T14:50:14Z")

</div>

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