A tiny browser extension that hides sidebars and top bars on a few sites so you can reclaim screen space — plus a YouTube "cinema dim" mode.
| Site | What it hides |
|---|---|
| old.reddit.com | the right sidebar (widens the post column) |
| YouTube | the top bar and the left guide sidebar (just the videos) |
| GitHub | the global top navigation header |
| Miruro | the fixed top bar and the server-status banner (closes the gap they leave) |
- Ctrl+Shift+E (⌘+Shift+E on macOS) — toggle hide on the current supported site
- Ctrl+Shift+X (⌘+Shift+X on macOS) — YouTube only: toggle cinema dim (blacks out the page around the player on watch pages)
Click the toolbar icon to open the popup, where you can toggle the current site, toggle cinema dim, and choose which sites the extension is active on. Shortcuts are rebindable at chrome://extensions/shortcuts (or edge://extensions/shortcuts; on Firefox, about:addons → ⚙ → Manage Extension Shortcuts).
Browser-reserved shortcuts: a browser will not hand an extension a combo it already uses for itself, and it refuses silently — the command simply ends up with no shortcut.
Ctrl+Shift+Xis clear in both Chrome and Edge, so cinema dim binds itself on install.Ctrl+Shift+Ebinds on Chrome but not on Edge, which keeps it for sidebar search; Edge users get hide unassigned until they set it themselves on the extension-shortcuts page, after which their binding wins. The popup now says so explicitly when it happens, rather than leaving you to find out by pressing the keys. Everything is always available from the popup, so the shortcuts are purely a convenience.
Chrome / Edge
- Clone this repo.
- Open
chrome://extensions(oredge://extensions) and enable Developer mode. - Click Load unpacked and select the
src/folder.
Firefox
- Build the Firefox package:
pwsh -NoProfile -File scripts/pack.ps1 -Target firefox. - Open
about:debugging#/runtime/this-firefox→ Load Temporary Add-on…. - Select
dist/firefox/manifest.json. (Temporary add-ons last until you restart Firefox.)
Chrome/Edge load src/ directly, but Firefox needs the built dist/firefox/ because that
manifest carries the add-on id storage.sync requires. On first use Firefox may ask you to grant
access to each supported site (Firefox treats host permissions as opt-in) — allow them so the
toggles work.
pwsh -NoProfile -File scripts/pack.ps1 # both (default)
pwsh -NoProfile -File scripts/pack.ps1 -Target chrome
pwsh -NoProfile -File scripts/pack.ps1 -Target firefoxFrom the same src/, this produces:
dist/sidebar-toggle-<version>.zip— Chrome Web Store and Microsoft Edge Add-ons.dist/sidebar-toggle-<version>-firefox.zip— addons.mozilla.org (AMO), with a Firefox-flavoured manifest (add-on id + event-page background; onlymanifest.jsondiffers). The unpacked build is left atdist/firefox/— validate it for AMO withweb-ext lint --source-dir dist/firefox.
No data is collected and nothing is sent anywhere. All state — which sites are active and what is currently hidden — lives in chrome.storage.sync. The extension only has access to the supported domains listed above.
