Skip to content

xwxb/chrome-spawn-tab-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spawn Tab Group

A minimal Chrome extension that automatically groups new tabs with the tab that opened them, like dia browser.

screenshot

How it works

When you open a link in a new tab (Ctrl+Click, right-click → "Open in new tab", target="_blank", etc.), the new tab is automatically placed in the same tab group as the opener. If the opener isn't in a group yet, a new group is created for both.

Install

No Chrome Web Store listing yet — load it manually.

  1. Clone or download this repo
  2. Go to chrome://extensions
  3. Enable Developer mode (top right)
  4. Click Load unpacked and select this folder

Settings

Click the extension icon to open the popup:

Setting Default Description
Enable Master on/off switch
Group opener too When the opener has no group, pull it into the new group along with the child tab. Disable to leave the opener untouched.

Permissions

Permission Why
tabs Read openerTabId and move tabs into groups
tabGroups Read and manage tab group state
storage Persist your settings across sessions

Limitations

  • Only works when Chrome knows the opener relationship (openerTabId must be set). Tabs opened from the address bar or the new tab page are not affected.
  • Pinned tabs cannot be grouped and are always skipped.
  • Cross-window tab opening is not supported by Chrome's API.

License

MIT

About

A minimal Chrome extension that automatically groups new tabs with the tab that opened/spawned from them, like Dia Browser.

Topics

Resources

License

Stars

Watchers

Forks

Contributors