Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
AI Code Block Fixer 预览

AI Code Block Fixer 作者: SomeExtraSmallTools

Collects extracted code, Automatically merges broken code blocks in Google AI responses, restores syntax highlighting, fixes the copy button, and adds customizable auto-collapse provides syntax highlighting, and manages the auto-collapsing of blocks

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

扩展元数据

屏幕截图
Before the add-on, a large block of code in the chat window looks like this...After the add-on, the large piece of code looks like this.And you have the option to edit code locally or take notes, with the ability to save the result as a file.
关于此扩展
AI Code Block Fixer improves the readability and usability of code snippets generated in Google AI responses.

Sometimes, long or complex code blocks in AI search results break apart—the bottom half of the code spills out into plain text paragraphs below the main container, losing its formatting, syntax colors, and breaking the "Copy" button. This extension fixes that automatically.

Key Features:
• Auto-Merge Broken Code: Detects code lines that spilled out of the main block and seamlessly merges them back into a single unified container.
• Smart Syntax Highlighting: Dynamically restores syntax colors (comments, strings, keywords, numbers) for merged code fragments to match the page theme.
• Fixed Copy Button: Updates the native "Copy" button so it copies the entire reconstructed code block in one click.
• Collapsible Long Blocks: Automatically collapses tall code snippets to keep search pages clean and easy to scroll, with a convenient Expand/Collapse toggle bar.
• Customizable Settings: Click the extension icon to toggle auto-collapse on/off, set your preferred maximum block height (100px–1200px), and enable or disable the bottom fade-out gradient.

Privacy & Performance:
• Works 100% locally in your browser.
• Lightweight and fast, running only on Google domains.
• Collects zero user data or analytics.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 访问您用于 google.com 域名的网站的数据
  • 访问您用于 google.in 域名的网站的数据
  • 访问您用于 google.us 域名的网站的数据
  • 访问您用于 google.kz 域名的网站的数据
  • 访问您用于 google.ru 域名的网站的数据
  • 访问您用于 google.de 域名的网站的数据
  • 访问您用于 google.ca 域名的网站的数据
  • 访问您用于 google.fr 域名的网站的数据
  • 访问您用于 google.co.uk 域名的网站的数据
  • 访问您用于 google.com.br 域名的网站的数据
  • 访问您用于 google.it 域名的网站的数据
  • 访问您用于 google.es 域名的网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 复制附加组件 ID
版本
1.5
大小
52.05 KB
上次更新
5 天前 (2026年11月23日)
相关分类
  • 网页开发
  • 搜索工具
  • 外观
许可证
MIT 许可证
版本历史
  • 查看所有版本
标签
  • chat
  • google
  • search
  • user scripts
添加到收藏集
举报此附加组件
转至 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 或更新版本使用。