HeaderTweaker is a browser extension for adding, changing, and removing HTTP request headers. Create header rules, enable or disable them, and optionally limit them to matching URL patterns.
- Add, edit, enable, disable, and delete request-header rules.
- Match rules to URL patterns when needed.
- Import and export configuration as JSON.
- Enable or disable all header modifications from the settings panel.
- Firefox support through
webRequestand Chrome support throughdeclarativeNetRequest.
All configuration is stored locally in the browser.
Requirements: Node.js 20+ and pnpm 10+.
pnpm install
pnpm build:firefox
pnpm build:chromeThe builds are written to dist/firefox/ and dist/chrome/. To run a development build in a browser:
pnpm dev:firefox
pnpm dev:chromeUseful checks:
pnpm check-types
pnpm lint
pnpm testMIT