Start with a membership rule
Preview proposed groups by hostname
First confirm that your current Firefox version provides tab-group controls. Firefox interfaces and supported grouping features can vary by version, so do not assume that a context-menu command or keyboard shortcut exists. If your browser does not expose native tab groups, stop at the classification stage or use a Firefox-compatible tool whose current documentation confirms grouping support.
Worked example: classify each tab
Assume one normal Firefox window contains these open tabs:
shop.example.com/productsshop.example.com/cartdocs.example.com/setup- A one-off news page at
news.example.net - A pinned tab, such as webmail or a start page
The first two tabs have the same hostname: shop.example.com. They form one candidate group. Their different paths do not matter because the membership boundary is the hostname, not the exact URL or page topic.
The documentation tab has hostname docs.example.com, so it does not belong in the shop group. It could become a separate group only if you have enough tabs from that exact hostname and want a documentation group. Do not combine it with shop.example.com merely because both sites belong to the same project.
The news tab stays outside the grouping task. It has a different hostname and no related partner tab in this example. Grouping a single unrelated page would add a label without improving organization.
Keep the pinned tab separate. Pinned status is an explicit reason not to include it in an ordinary tab group. Do not unpin it simply to make the tab count look complete; its existing role should remain unchanged.
The resulting decision is:
- Group:
shop.example.com/productsandshop.example.com/cart - Leave alone:
docs.example.com/setup - Leave alone: the one-off news tab
- Leave alone: the pinned tab
This is a membership decision, not a request to organize every visible tab. Stop when the selected tabs satisfy the rule. Broadening the group to include documentation, news, or pinned pages would make the result less predictable.
Apply grouping in Firefox
Select sites to include and handle single-tab exceptions
Once Firefox confirms that grouping is available, use this sequence. Names of commands may differ between releases.
- Work in the normal window containing the tabs. Do not mix tabs from another window into this decision.
- Select the two
shop.example.comtabs using the browser's supported tab-selection or grouping control. - Choose the command that creates a new tab group, if that command is present in your Firefox version.
- Give the group a descriptive name such as
Shop, if Firefox offers naming. Choose a browser-provided color only if the interface provides that option. - Leave the documentation, news, and pinned tabs outside the new group.
If Firefox does not provide multi-tab selection or a tab-group command, these exact native steps cannot be completed in that build. Do not substitute a guessed menu item. Check current Firefox documentation or the documentation for a compatible grouping tool before changing the tabs.
Verify membership without expanding scope
Verification should test both what changed and what did not. Confirm that the two shop pages appear together and that their group label or visual treatment identifies them as one unit. Then inspect the remaining tabs: the documentation page, news page, and pinned tab should still be outside that group.
Also check the window boundary. If another normal Firefox window contains a page from shop.example.com, it should remain in that other window. Matching hostnames do not justify moving tabs between windows, and a group created in one window should not silently change another window.
If a subdomain appears later, classify it separately. For example, support.example.com is not the same hostname as shop.example.com. Combine subdomains only when a separate, explicit rule or confirmed browser feature allows it. A shared brand name is not enough.
Common mistakes
Do not group by page title alone. Two pages can mention the same product while belonging to unrelated hosts. Use the hostname consistently, and decide in advance whether a single-tab site should remain ungrouped.
Do not include existing groups automatically. If a tab is already grouped, leave it unchanged unless you intentionally decide to add it and Firefox clearly offers that operation. Avoid dragging tabs across windows as part of this small task.
Do not treat grouping as session saving. A group organizes currently open tabs; it does not guarantee that the same work will reopen later. After applying the example, the expected result is one group containing the two shop pages, with all excluded tabs and their existing roles preserved.