Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Header Tool 预览

Header Tool 作者: loreii

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

0(0 条评价)0(0 条评价)
20 个用户20 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 输入数据到剪贴板
  • 下载文件和读取与修改浏览器的下载历史
  • 获取浏览器标签页
  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.0.0
大小
35.52 KB
上次更新
2 个月前 (2026年6月12日)
相关分类
  • 网页开发
许可证
仅 GNU 通用公共许可证 v2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。