Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Header Tool

Header Tool by loreii

A simple HTTP header modifier extension with JS expressions, regex URL matching, and clipboard export.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Easily modify HTTP headers on every request with a simple text editor, JS expressions, and regex URL matching.

Full Description:

Header Tool lets you modify HTTP request headers using a simple text editor interface. Write headers directly, use JavaScript expressions for dynamic values, and target specific URLs with regular expressions.

Features:

• Simple text-based editor — no complex UI, just type your headers • JavaScript expressions in ${...} blocks: base64 encoding, crypto hashes, dynamic dates, and more • Regular expression URL matching with @ syntax — apply different headers to different sites • Continuous JS mode — re-evaluates expressions on every HTTP request • Copy headers to clipboard in wget or curl format • Import/Export header configurations from/to text files • Persistent — your headers and settings survive browser restarts • Sidebar panel (F4) and toolbar popup for quick access • Does not interfere with Firefox Sync or internal browser services

Usage example:

Basic header

X-Custom-Header: my-value

Base64 authentication

Authorization: Basic ${b64("username:password")}

Dynamic values

X-Timestamp: ${new Date().toISOString()}

Apply only to specific URLs

@api.example.com
X-API-Key: secret123

Crypto

X-Hash: ${sha256("message")}
Supported JS functions: b64(), md5(), sha1(), sha256(), crypto(), hostname(), pathname(), search(), href()

Source code: https://github.com/loreii/HeaderTool
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Input data to the clipboard
  • Download files and read and modify the browser’s download history
  • Access browser tabs
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Copy add-on ID
Version
1.0.0
Size
35.52 KB
Last updated
4 days ago (Jun 12, 2026)
Related Categories
  • Web Development
License
GNU General Public License v2.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.