Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Inline JSON Formatter Button 预览

Inline JSON Formatter Button 作者: Sam Bender

Adds a 'Format JSON' button next to unformatted JSON found anywhere on a web page.

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

扩展元数据

关于此扩展
Inline JSON Formatter Button makes compact, single-line JSON easy to read, wherever it appears on a page. That includes logging dashboards, admin consoles, API tools and web apps.

The extension scans each page for text that is valid JSON. When it finds some, it puts a small green “Format JSON” button right next to it. Click the button and the JSON is replaced in place by an indented, readable version. Click “Collapse JSON” to put the original text back. You don’t have to copy the text, save it as a file, or paste it into another tool.

Features

Works on any website. It also finds JSON that a page has split across several highlighted elements.
Finds JSON that loads after the page does, such as log entries that appear as you scroll or search.
Expands JSON that is stored as a string inside other JSON, which is common in log messages.
Skips JSON that is already spread across multiple lines, and ignores very short values such as {} and [].
Works with the keyboard, shows a clear focus outline, and reports whether the JSON is expanded or collapsed to screen readers.

Privacy
All processing happens locally in your browser. The extension doesn’t send anything over the network, doesn’t collect or store any data, and doesn’t change the page apart from the JSON you choose to format. It requests no special permissions beyond running on the pages you visit.

How to use it

Install the extension.
Open any page that shows compact JSON.
Click the green “Format JSON” button beside it.
Click “Collapse JSON” to return to the original view.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 复制附加组件 ID
版本
1.0.2
大小
28.23 KB
上次更新
1 个月前 (2026年11月4日)
相关分类
  • 网页开发
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

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

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