🚀 One-click copy Google AI Mode responses as Markdown
Why • Features • Install • Usage • About
Google AI Mode (Search Labs) is a powerful AI search tool, but it has one frustrating issue:
You cannot copy the AI response content!
- ❌ Cannot copy Markdown - Even if you manage to select it, copying only gives plain text with all formatting lost
- ❌ No response copy button - While code blocks have copy buttons, the overall response doesn't
- ❌ Cannot save conversations - Want to save a great AI answer? Your only option is screenshots...
This is a nightmare for users who need to take notes, organize documentation, or share content!
This Chrome extension perfectly solves all the above problems:
Just click the Markdown button at the bottom of the AI response to copy perfectly formatted Markdown content:
- ✅ One-click copy - Prominent "Markdown" button added to AI response footer
- ✅ Smart conversion - Automatically converts HTML content to standard Markdown format
- ✅ Full format support:
- Headings (H1-H6)
- Paragraphs and line breaks
- Lists (ordered/unordered)
- Code blocks (with language identifiers)
- Bold, italic
- Links
- Blockquotes
- Tables
- ✅ Context menu - Copy full conversation via right-click
- ✅ Popup window - Click extension icon for quick copy
-
Clone or download this repository
git clone https://github.com/MatrixAges/ai-mode-copy.git cd ai-mode-copy -
Install dependencies and build
pnpm install pnpm run build
-
Open Chrome browser and visit
chrome://extensions/ -
Enable "Developer mode" in the top right corner
-
Click "Load unpacked"
-
Select the
distdirectory of the project -
Done! 🎉
- Visit Google Search and use AI Mode
- A "Markdown" button will automatically appear at the bottom of AI responses
- Click the button to copy the current response in Markdown format
- The button will show ✓ when copy is successful
- Click the extension icon in the browser toolbar
- Click "Copy Full Conversation" to copy the entire conversation
- Right-click on the AI Mode page
- Select "Copy Full Conversation (Markdown)" or "Copy Current Response (Markdown)"
- Frontend Framework: React 18 + TypeScript
- Build Tool: Vite
- Chrome Extension: Manifest V3
- HTML Conversion: Custom Markdown converter
This project was entirely built by AI Coding!
This project was developed using Antigravity — an advanced AI Coding assistant developed by Google DeepMind. From project initialization, architecture design, feature implementation to documentation, the entire development process was done without writing a single line of code manually.
This is a real-world validation of AI Coding capabilities:
- 📝 Requirement Understanding - AI accurately understood the pain point of "solving AI Mode's copy limitation"
- 🏗️ Architecture Design - AI designed a clean Chrome extension architecture (content script + background + popup)
- 💻 Code Implementation - AI completed HTML-to-Markdown converter, React components, Chrome API integration
- 🐛 Bug Fixing - AI iteratively fixed issues with DOM selectors, style injection, format conversion
- 📖 Documentation - The README you're reading was also generated by AI
AI writing code to solve an AI product's problem — How meta is that? 😄
ai-mode-copy/
├── src/
│ ├── content/ # Content Script (injected into page)
│ │ ├── index.tsx # Entry file
│ │ └── MarkdownButton.tsx
│ ├── background/ # Background Service Worker
│ │ └── index.ts
│ ├── popup/ # Extension popup
│ │ ├── index.tsx
│ │ ├── Popup.tsx
│ │ └── popup.css
│ └── utils/ # Utility functions
│ ├── converter.ts # HTML → Markdown converter
│ └── extractor.ts # DOM content extraction
├── public/
│ ├── manifest.json # Chrome extension config
│ └── icons/ # Extension icons
├── images/ # README screenshots
├── dist/ # Build output
└── package.json
Made with ❤️ for AI Enthusiasts
Powered by Antigravity AI Coding Assistant


