How to modify headers in only one tab
To change headers in one tab only, open that tab, click the HeaderDial icon, and tick Only in this tab (until it closes) under Where it applies. The profile's headers then go on every request that tab makes, on any site it visits. Other tabs are left alone, even on the same URL, and so are new tabs and popups the tab opens. When you close the tab, HeaderDial switches the profile off. This is useful when you want two tabs side by side, one with a header and one without. Examples: a feature flag on and off, a logged-out view next to a logged-in one, or two Accept-Language values.
Steps
- Go to the tab you want to change and load the site.
- Click the HeaderDial icon in the toolbar while that tab is in front. Use the toolbar popup, not the full-tab editor: in the editor the checkbox is greyed out, because the editor tab is the only tab it knows about. If the site-access banner appears, choose Allow on all sites or Only <current host>.
- Add the headers to a profile. The tab setting belongs to the whole profile, so click + next to the profile chips for a new one if your other profiles should keep working everywhere.
- Open Where it applies and tick Only in this tab (until it closes). The label changes to "Only in one tab: page title (this tab)", the heading reads Where it applies (1 filter), and the profile chip gets a ⧉ mark. Ticking it also switches the profile on.
- Reload the tab.
Everything in the profile is limited to the tab: request and response headers, cookie rows and URL redirects. Other filters still apply on top. With + Only on… staging.example.com as well, the headers go only on that host's requests, and only from that tab.
What it covers, measured
We tested in November 2026 with HeaderDial 0.5.0 in Chrome for Testing 159.0.8154.6 and Firefox 158.0.1 on Linux. A profile with one request header, X-Tab: 1, was bound to one tab, and a local server logged whether each request carried it. In Chrome we ticked the box in the real toolbar popup. In Firefox we set the same profile through the extension's storage, because a test cannot open Firefox's toolbar popup.
| Request | Chrome 159 | Firefox 158 |
|---|---|---|
| Page load in the chosen tab | sent | sent |
fetch() from the chosen tab | sent | sent |
A second tab on the same URL, page load and fetch() | not sent | not sent |
| A cross-origin iframe inside the chosen tab | sent | sent |
Chosen tab navigates to another host (127.0.0.1 to localhost) | sent | sent |
| Chosen tab reloaded | sent | sent |
window.open() from the chosen tab, new tab | not sent | not sent |
window.open() from the chosen tab, popup window | not sent | not sent |
A target="_blank" link clicked in the chosen tab | not sent | not tested |
| A duplicate of the chosen tab, reloaded | not sent | not tested |
A request the site's service worker makes, even one passed on from the page's fetch() | not sent (sent when the profile was not tab-bound) | not tested |
| Any tab, after the chosen tab was closed | not sent | not sent |
The browser identifies a tab by a number, not by its address. That is why the header follows the tab to another site, and why a new tab or window opened from it does not get it, even when it is on the same site.
When the tab closes
In both browsers, closing the tab switched the profile off within a second. Its switch read Off, the checkbox went back to Only in this tab (until it closes), unticked, and no rule was left in the browser. In Chrome we also saw the ⧉ mark disappear. The headers stay in the profile, so to use them again, open the popup on another tab and tick the box again.
Tab numbers are not kept across a browser restart, so HeaderDial also switches tab-bound profiles off when the browser starts. We read this from the code but did not test a real restart.
Pitfalls
- Sign-in and payment popups don't carry it. If your flow opens a popup or a new tab, the header is missing there. Use an + Only on… domain filter without the tab setting instead.
- Service workers. Requests a site's service worker makes on its own have no tab, so a tab-bound profile misses them (measured in Chrome). If some requests lack the header on a site with a service worker, unregister the worker while testing, or use a domain filter.
- Cookies are still shared. Removing
Cookiein one tab gives a logged-out view there, but anySet-Cookiethat tab receives still changes the cookies for every tab. - Back and forward may not send a request. In our Chrome test, going back showed a cached copy of the page, so no request reached the server. Reload when you check whether the header was sent.
- Duplicating the tab makes a new tab. It is not covered, as the table shows.
Add to ChromeFirefox: coming soon