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
扩展元数据
屏幕截图
关于此扩展
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.
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 位用户)
权限与数据
必要权限:
- 访问您用于 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 域名的网站的数据
收集的数据:
- 开发者称此扩展无需收集数据。
更多信息