Test how exact-hostname rules separate shop, docs, and pinned tabs in the grouping preview.
Set a narrow grouping rule
Start with one normal Firefox window. Define the group boundary before selecting tabs. For this procedure, the rule is: include ordinary tabs whose hostname is exactly the same; exclude pinned tabs, unrelated sites, and pages that only happen to concern the same subject.
The hostname rule prevents accidental mixing. For example, shop.example.com and docs.example.com are different hostnames even though they share example.com. Treat them as separate sites unless you deliberately decide that subdomains belong together. A shared brand name or similar page title is not enough reason to combine them.
Keep the task limited to the selected window. A site open in another window should not be moved into this group, because grouping is a tab-layout operation, not a reason to rearrange windows.
Worked example: resolve exceptions first
Suppose one normal window contains these tabs:
- Two ordinary pages at
shop.example.com - One page at
docs.example.com - One one-off news page at
news.example.net - One pinned tab
The requested group is for the shop pages. Apply the rule one tab at a time:
- Include both
shop.example.comtabs. They share the exact hostname, so they satisfy the membership rule. - Exclude
docs.example.com. It may describe the same company, but its hostname differs. Put it in a separate group only if that becomes a separate task. - Exclude
news.example.net. A single news page does not belong merely because it relates to the shopping work. Leave it where it is. - Keep the pinned tab separate. Pinned status is an explicit exception to ordinary tab grouping, and changing it would broaden the task.
The expected result is one group containing the two shop tabs. The documentation, news, and pinned tabs remain outside it. Nothing is closed, and no unrelated tab is silently pulled into the group.
Apply the decision in Firefox
Compare how single-tab exceptions and separate subdomains appear in the ungrouped column.
If your Firefox version exposes native tab groups, use its current tab-selection and grouping controls. The exact command name, selection gesture, and group interface can change between Firefox releases, so verify those controls in the browser before applying them.
- Select the two
shop.example.comtabs in the normal window. Do not select the documentation, news, or pinned tab. - Open the tab context menu or grouping control provided by your Firefox version.
- Choose the command for creating a new tab group, if that command is available. Give the group a precise name such as
Shop researchrather than a broad name such asWork. - Confirm the selected membership before accepting. If Firefox shows a preview or selected-tab list, check that it contains exactly two shop tabs.
- Apply the group operation. Do not drag other tabs into it afterward unless they pass the same hostname rule.
If your installed Firefox does not provide a native tab-group command, stop at that point instead of treating ordinary tab selection, pinned tabs, or bookmarks as equivalent group features. Check current Firefox documentation or a Firefox-compatible grouping add-on before changing the layout. Compatibility and available controls must be verified for your version.
Verify exceptions after grouping
Verification should test both what changed and what did not. Open the resulting group and confirm that both tabs show the shop.example.com pages. Then inspect the remaining tab bar: docs.example.com, news.example.net, and the pinned tab should still be outside the group.
Check window scope as well. If another Firefox window contains a shop page, it should remain in that window and outside the group created here. A group should not be used as a reason to move tabs between windows.
Finally, look for accidental membership caused by a page redirect. A tab that started on one address may now have a different hostname. Use its current address when checking the rule. If one tab does not meet the exact-hostname condition, remove it from the group or undo the operation using the control available in your Firefox version.
The stopping rule is simple: once the intended hostname is grouped and every exception remains unchanged, stop. Do not broaden the group because nearby tabs look related. Narrow membership produces a group that remains understandable when more pages are opened later.
Tab Groups Extension For Firefox
Review the grouping preview layout to verify which tabs stay ungrouped before making changes.