Gemini Code Download Button

Adds a download button to Gemini code blocks. Automatically identifies the language and generates the corresponding file extension.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
kmcbest
Installazioni giornaliere
1
Installazioni totali
5
Valutazione
0 0 0
Versione
1.0
Creato il
25/03/2026
Aggiornato il
25/03/2026
Dimensione
5,56 KB
Licenza
MIT
Applica a

Adds a "Download" button to the generated code blocks on the Gemini web interface. It supports automatic extension mapping for over 30 languages (including Python, JS, Rust, etc.). Files are named using the detected language and a current timestamp (YYYYMMDD-HHMMSS) to prevent overwriting.

---


在 Gemini 网页端的代码块中加入“下载”按钮。支持自动识别超过 30 种编程语言(如 Python, JS, Rust 等)并匹配对应的文件后缀。下载文件名由识别到的语言名称与当前时间戳(年月日-时分秒)组成,避免文件名冲突。