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

Hotpatch 作者: orindholt

Hotpatch adds a sidebar code editor for writing CSS and JS patches that apply to every page of the site you're on. CSS updates live as you type, JS runs on every page load, and each patch is scoped to the site it was made on.

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

扩展元数据

关于此扩展
Hotpatch is a sidebar code editor for tweaking the sites you use. Write a CSS or JS patch and it applies to every page of that site, on every visit. CSS updates live as you type; JS runs on page load. Patches are scoped per site and stored on your device.

Open the sidebar on any http(s) page and you get a tabbed editor for that site's patches, no devtools, no scratch files, nothing to re-paste after a reload.

WHAT YOU CAN DO

• Write CSS patches that are injected into every page of the site and update instantly while you type, hide clutter, fix contrast, widen a cramped layout, restyle anything.
• Write JS patches that run automatically on page load, or hit "Run now" to execute one against the current tab immediately.
• Keep as many patches per site as you like, each with its own tab, name, and enable/disable switch.
• Highlight matches: with a CSS patch open, turn on Highlight and Hotpatch outlines every element matched by the rule your cursor is sitting in, so you can see what a selector actually hits.
• Manage everything from one place, the overview lists all patches grouped by site, with toggles and delete buttons, so you can find and disable something without visiting the site first.

THE EDITOR

Built on CodeMirror 6 with syntax highlighting, autocompletion, bracket matching and closing, code folding, line numbers, and undo history. Prettier formatting on demand (Cmd/Ctrl-Shift-F) or automatically on save (Cmd/Ctrl-S). Live linting flags syntax errors before a patch ever reaches the page. 14 editor themes across light and dark — GitHub, Dracula, Nord, Solarized, Tokyo Night, Catppuccin, Gruvbox, Monokai, One Dark, and more — plus configurable font size, tabs or spaces, indent width, and line wrapping. You can also set default starting code for new CSS and JS patches.

Edits save themselves as you type. There is no save button to forget.

PRIVACY

Hotpatch collects nothing and sends nothing anywhere. Your patches and settings live in your browser's local extension storage — no account, no sync server, no analytics, no network requests of any kind.

NOTES

Patches only work on http(s) pages; browser-internal pages, extension pages, and local files can't be patched. Broad site access is required because a patch can target any site you choose to write one for.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 获取浏览器标签页
  • 获知浏览器导航时的行为状态
  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 支持邮箱
  • 复制附加组件 ID
版本
1.0.0
大小
436.86 KB
上次更新
8 天前 (2026年8月5日)
相关分类
  • 网页开发
许可证
Mozilla 公共许可证 2.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 或更新版本使用。