Bulk Tab Grouper by Domain
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This userscript helps you organize browser tabs by grouping them by domain. It scans any webpage for visible tab-like elements, hyperlinks, or a list of open tabs (e.g., in tab management pages, browser extensions, or tab lists), extracts domain names and page titles, displays a list of unique domains with checkboxes, and allows you to select multiple domains to group all tabs from those domains together. It shows the number of tabs per domain, filters by domain, and maintains a list of already grouped domains to avoid duplicates. It exports the list of selected domains and provides a confirmation step before taking action. The script simulates the grouping action by marking domains for grouping.
WHERE IT RUNS
The script works on any webpage with links, tab elements, or tab lists—tab management pages, browser extension interfaces, or any page with a list of URLs. It runs entirely within your browser, reading only the visible content of the current page. It does not track your browsing history, access other tabs, or send any data externally. All domain data and grouping history are stored locally.
HOW TO USE
After installation, open the panel by clicking the tool's icon in the BotGentz sidebar. Click "Scan for tabs" to extract domains and tabs from the current page. The panel displays a list of unique domains with checkboxes, showing the number of tabs per domain and preview titles. Select the domains you want to group—use "Select All" to choose all. Click "Group Selected (Track)" to mark them as grouped and add them to your history. Click "Export Selected" to download a text file with the selected domain names. Use "Clear History" to reset the grouping history.
THE TECHNICAL MECHANISM
This script uses DOM traversal to extract links and tab-like elements from the page. It scans for anchor tags with href attributes, elements with data-url or data-link attributes, and elements with "tab" class names or role="tab". For each element, it extracts the URL and uses the browser's URL parsing (via a temporary anchor element) to extract the domain name (hostname). It groups tabs by domain, counts occurrences, and stores tab titles and URLs for each domain. The script stores the grouping history in GM_setValue so you don't see already-grouped domains in future scans. The export function creates a plain text file with the selected domain names. All operations are client-side and do not send any data externally.
THE PANEL
The panel is draggable anywhere on the screen and remembers its position between sessions. It can be collapsed to a small floating bubble to minimize distraction, and expanded again with a single click. The panel's width can be adjusted, and pressing the Escape key closes it instantly. All settings—grouping history and auto-scan preference—are persisted locally using GM_setValue, so your data remains intact across page reloads and browser restarts.
PLEASE NOTE
This userscript requires the free BotGentz extension to function. The script extracts links and tab elements from page text—it may not capture all open tabs. The script helps you track which domains you've grouped—it does not actually group browser tabs. The extraction relies on the current structure of the page—if the page uses a different tab format, the script may need to be updated. The script does not access your browser's tab API; it only reads what is visible on the page. No data from your browsing is stored or transmitted anywhere—all processing occurs entirely in your browser.