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

Greasy fork 爱吃馍镜像

CodeDown

Add download buttons to code blocks across ChatGPT, Z.Ai, Gemini, LMArena, Kimi, Le Chat, Meta AI, Copilot, Grok, and LongCat. Save snippets as ready-to-use files and organize multiple downloads with an advanced management menu.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

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

公众号二维码

扫码关注【爱吃馍】

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

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

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

公众号二维码

扫码关注【爱吃馍】

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

Autor
OHAS
Instalaciones diarias
4
Instalaciones totales
132
Calificaciones
5 0 0
Versión
1.5
Creado
26/09/2025
Actualizado
01/12/2025
Tamaño
101 KB
Compatibilidad
Compatible con Firefox Compatible con Chrome Compatible con Opera Compatible con Edge
Licencia
CC-BY-NC-ND-4.0
Funciona en

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!