HeaderDial › Guides

How to modify HTTP request headers in Firefox

Firefox has no setting for adding or changing arbitrary request headers on the pages you browse. Its DevTools can resend a single request with edited headers, but for anything lasting you need an add-on. HeaderDial for Firefox (Firefox 128 or later) adds, changes or removes request and response headers, limited to the sites you choose. It has the same profiles, filters, timers and import as the Chrome version, so a setup exported from Chrome works unchanged.

Install and requirements

Firefox: coming soon

HeaderDial was submitted to Firefox Add-ons on 20 November 2026 and is in Mozilla's review; this page links to the listing the day it goes live. On Chrome and Edge it is already on the Chrome Web Store. It needs desktop Firefox 128 or later, which includes Firefox ESR 128 and every release since.

Site access in Firefox

HeaderDial asks for no website access when you install it. The first time you open it, a banner says "HeaderDial needs your permission before it can change headers on websites" and offers two buttons:

Firefox then shows its own prompt to confirm. Until access is granted, HeaderDial's rules exist but change nothing, which is the behaviour our Firefox end-to-end test checks. If a page on one host calls an API on another, allow both hosts, or all sites. You can review or withdraw access later on HeaderDial's page in about:addons.

Firefox does not run add-ons in private windows unless you allow it. To change headers there, open HeaderDial's page in about:addons and set Run in Private Windows to Allow.

Steps

  1. Click the HeaderDial icon in the toolbar (it may be inside Firefox's Extensions menu until you pin it) and grant site access as described above.
  2. Click + Request header, type a name such as X-Debug and a value such as 1. Names like Authorization, Accept-Language and User-Agent are in the suggestions.
  3. Pick the operation: set replaces the value, append adds to it, remove drops the header. To change what the server sends back, use + Response header instead.
  4. Open Where it applies, click + Only on…, choose Domain and enter your host, for example staging.example.com.
  5. Reload the page. Open DevTools (F12), go to the Network panel, select a request and check its request headers.

The same features as in Chrome

The Firefox version is built from the same source files as the Chrome and Edge version; only the manifest differs. Everything works the same way:

The same append limit applies too: browsers let extensions append only to a short list of request headers, such as Accept-Language, Cache-Control and X-Forwarded-For. For other headers HeaderDial uses set and tells you so.

How it works in Firefox

HeaderDial uses Firefox's declarativeNetRequest API, the same API Chrome uses for Manifest V3 extensions. HeaderDial turns your profiles into a list of rules and hands it to Firefox; Firefox applies the rules to matching requests. The add-on never reads your traffic and makes no network requests of its own. In our tests in Firefox 158, rules added and removed headers on page loads and on fetch() calls, changed response headers that the page could read, and respected domain and regex filters.

Firefox's built-in alternatives

For some jobs you don't need an add-on:

None of these can add a header such as Authorization to every request a page makes, limit it to one host or switch it off on a timer. That is what an add-on is for.

The curl equivalent

curl -H "X-Debug: 1" https://staging.example.com/

In the Network panel, right-click a request and use Copy as cURL to get the full command with every header Firefox sent.

Add to ChromeFirefox: coming soon