cd /news/developer-tools/a-chrome-side-panel-that-lists-tabs-… · home › topics › developer-tools › article
[ARTICLE · art-180737] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

A Chrome side panel that lists tabs from every window, in ~60 lines (chrome.sidePanel + windows.getAll)

A solo developer in Korea published a roughly 60-line Chrome extension that uses the chrome.sidePanel API and chrome.windows.getAll({populate: true}) to list every open tab across all windows in an always-visible side panel. The implementation debounces tab events by 100ms to prevent flicker during page loads and adds one-click tab focusing, with optional grouping via chrome.tabs.group and chrome.tabGroups.update. The developer says the demo is the basis for TabZipsa, a commercial extension that adds AI-assisted grouping by task, where the model sees only tab titles and domains, never page content.

key takeaway

chrome.windows.getAll({populate: true}) plus a 100ms debounce on tab events yields a flicker-free, always-visible cross-window tab list in about 60 lines using the chrome.sidePanel API (Chrome 114+).

by read2 min views1 publishedDec 3, 2026

Disclosure: I'm a solo developer in Korea and the author of TabZipsa, the extension mentioned at the end. This post was written with AI assistance.

If you keep three or four Chrome windows open, "which window was that tab in?" becomes a daily question. Ctrl+Shift+A (tab search) helps, but I wanted a list that's always visible next to the page. Here's the minimal version.

{
  "manifest_version": 3,
  "name": "All tabs side panel",
  "version": "0.1.0",
  "permissions": ["sidePanel", "tabs"],
  "side_panel": { "default_path": "panel.html" },
  "background": { "service_worker": "background.js" },
  "action": {}
}

The Side Panel API needs Chrome 114+. The tabs permission is what lets you read titles and URLs.

chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true });
js
async function render() {
  const wins = await chrome.windows.getAll({ populate: true, windowTypes: ['normal'] });
  const root = document.getElementById('root');
  root.textContent = '';
  wins.forEach((w, i) => {
    const h = document.createElement('h2');
    h.textContent = `Window ${i + 1} (${w.tabs.length})`;
    root.append(h);
    const ul = document.createElement('ul');
    for (const t of w.tabs) {
      const li = document.createElement('li');
      li.textContent = t.title || t.url;
      if (t.active) li.className = 'active';
      li.onclick = async () => {
        await chrome.windows.update(w.id, { focused: true });
        await chrome.tabs.update(t.id, { active: true });
      };
      ul.append(li);
    }
    root.append(ul);
  });
}

let timer;
const schedule = () => { clearTimeout(timer); timer = setTimeout(render, 100); };
for (const ev of [chrome.tabs.onCreated, chrome.tabs.onRemoved, chrome.tabs.onUpdated,
                  chrome.tabs.onActivated, chrome.tabs.onMoved, chrome.tabs.onAttached]) {
  ev.addListener(schedule);
}
render();

panel.html is just a <div id="root"></div>, a little CSS and <script src="panel.js"></script>.

tabs.onUpdated fires many times while a page loads; without a short debounce the list flickers.windows.getAll({ populate: true }) is your friend. Add grouping and it gets genuinely useful: chrome.tabs.group({ tabIds, createProperties: { windowId } }) plus chrome.tabGroups.update(groupId, { title, color }) (needs the tabGroups permission). Grouping by domain is a few lines of new URL(t.url).hostname.

That's roughly where TabZipsa started. It adds one-click grouping by task (an AI only sees tab titles and domains, never page content), grouping by site without AI, a history map by site or topic, and un idle tabs. You can try the AI grouping 100 times without signing in, then sign in with Google for 1,000 free classifications (one-time): https://tabzipsa.com

What would you add to a tab list in the side panel?

── more in #developer-tools 4 stories · sorted by recency
── more on @chrome 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-chrome-side-panel-…] indexed:0 read:2min 2026-12-03 · —