Chrome Extension (Manifest V3) for managing tab groups as workspaces with a single active (expanded) group.
- Treats each Chrome tab group as a workspace
- Keeps only one group expanded at a time
- Switches workspaces with keyboard shortcuts:
Alt+Shift+Up-> previous groupAlt+Shift+Down-> next group
- Switches tabs inside the active workspace group:
Alt+Shift+Left-> previous tab in groupAlt+Shift+Right-> next tab in group
- On workspace switch:
- collapses all groups except target
- focuses the first tab in the target group
- Persists last active group per window using
chrome.storage.local - Restores workspace state on browser startup/extension startup
- Settings page (
options.html): inspect groups for the current window, move tabs between groups, edit group titles/colors, and manage Auto group rules (URL regex → target tab group).
The options page opens in a normal Chrome tab (options.html).
Ways to open it:
chrome://extensions→ Find “BDSM - Browser Dynamic State Manager” → click Details → open Extension options (wording varies slightly; link is usually near the bottom of the Details view).- Toolbar: Right‑click the extension’s toolbar icon (puzzle-piece overflow menu → pin BDSM if needed) → choose Extension options, Options, or Manage extension depending on Chromium version; from Manage extension, use Extension options.
There is still no toolbar popup; shortcuts are handled only in the background service worker.
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select this project folder (
BDSM)
- Create tab groups in a Chrome window.
- Expand any group manually to make it active; other groups collapse automatically.
- Use
Alt+Shift+UpandAlt+Shift+Downto cycle workspaces. - Use
Alt+Shift+LeftandAlt+Shift+Rightto cycle tabs within the current group.
- Keyboard shortcuts still run entirely in the background service worker (no toolbar popup required).
- Shortcuts can be customized in Chrome via:
chrome://extensions/shortcuts