🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

CodeDown

Thêm nút tải xuống vào các khối mã trên ChatGPT, Z.Ai, Gemini, LMArena, Kimi, Le Chat, Meta AI, Copilot, Grok và LongCat. Lưu các đoạn mã dưới dạng tệp sẵn sàng để sử dụng và quản lý tải xuống hàng loạt với menu nâng cao.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Tác giả
OHAS
Cài đặt hàng ngày
2
Số lần cài đặt
133
Đánh giá
5 0 0
Phiên bản
1.5
Đã tạo
26-09-2025
Đã cập nhật
01-12-2025
Kích thước
100 KB
Sự tương thích
Tương thích với Firefox Tương thích với Chrome Tương thích với Opera Tương thích với Edge
Giấy phép
CC-BY-NC-ND-4.0
Áp dụng cho

CodeDown: Easily Download Code Blocks from AI Chats

CodeDown is a small assistant for your web browser that simplifies the way you save code generated by various artificial intelligence platforms. Instead of the hassle of copying the code, opening a text editor, pasting the content, and manually saving the file, CodeDown adds a handy “Download” button directly to code blocks, allowing you to download the formatted, ready-to-use file with a single click.




What Does It Do?

The script's main function is to add a download button to code blocks on supported AI chat websites. It is designed to make the process of saving code snippets faster, more efficient, and more organized.
The script is smart enough to:
  • Detect the programming language (such as Python, JavaScript, HTML, etc.).
  • Assign the correct file extension (e.g., .py for Python, .js for JavaScript).
  • Automatically name the file, including the platform name, language, and date, so you can find your files easily.




How Does It Work?

Very simply, the script runs silently in the background as you browse compatible AI sites.
  1. Automatic Detection: It identifies when a code snippet is displayed on the screen.
  2. Button Addition: As soon as a code block is detected, a new "Download" button appears, usually next to the "Copy" button.
  3. One-Click Download: When you click this new button, the script captures the entire code content, formats it correctly, and starts the file download in your browser, saving it directly to your downloads folder.




How to Use?

Using CodeDown is very easy!
There is nothing to configure. Just navigate to one of the supported AI sites, generate some code, and you will see the download button appear automatically.




Supported AI Platforms

We have added support for the main AI chat platforms on the market:

ChatGPT | Gemini | Copilot | Meta AI | Grok | Z.Ai | LM Arena | Kimi | Le Chat | LongCat




Important Notice for Microsoft Edge Users

⚠️Compatibility Issue with Copilot on Edge⚠️


Due to specific policies in the Microsoft Edge browser that restrict modifications to Microsoft's own tools, the CodeDown download button may not work correctly or appear at all on the Copilot platform when using Edge. To ensure the best compatibility and enjoy all of CodeDown's features on Copilot, we recommend using the Firefox browser.




As new improvements are tested and refined, your feedback helps guide the roadmap. If you wish to support maintenance and new features, please consider supporting:



Thank you!