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

Greasy fork 爱吃馍镜像

CodeDown

Добавете бутони за изтегляне към кодовите блокове в ChatGPT, Z.Ai, Gemini, LMArena, Kimi, Le Chat, Meta AI, Copilot, Grok и LongCat. Запазвайте кодови фрагменти като готови за употреба файлове и управлявайте масови изтегляния чрез разширено меню.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

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

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

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

公众号二维码

扫码关注【爱吃馍】

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

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

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

公众号二维码

扫码关注【爱吃馍】

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

Автор
OHAS
Инсталации дневно
2
Инсталации общо
138
Рейтинг
5 0 0
Версия
1.5
Създаден
26.09.2025
Обновен
01.12.2025
Размер
100 КБ
Съвместимост
Съвместим с Firefox Съвместим с Chrome Съвместим с Opera Съвместим с Edge
Лиценз
CC-BY-NC-ND-4.0
Работи на

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!