简体中文 |
English |
한국어 |
Tiếng Việt |
繁體中文
👆️access GitHub Readme file on for a better experience。
GitHubView the serviceman’s script
GreasyForkView the serviceman’s script
View the serviceman’s script on the current page
💡 Tip: The script manager and browser listed above do not represent all
The script runs normally in the following environment
「 Add functionality to ChatGPT code blocks, including the option to save or copy code snippets. 」
Download:Github | ⭐Greasy Fork
Code block addition“Save the code”and“Copy the code”Button,To quickly save or copy code snippets。
- Automatically add action buttons for each code block(Avoid repeated additions)。
-
Save code button:
-
Code block-based language(Infer file extensions by class name)。
-
Dynamically set according to extension MIME type。
-
Create a download link and trigger a download。
-
-
Copy code button:
-
Copy code snippets to clipboard。
-
Provide status feedback(like“Copy successfully”or“Copy failed”)。
-
- monitor DOM Changes,Automatically add buttons to the newly added code blocks。
-
Customize button styles(Background color、frame、Mouse hover effect)。
-
Status feedback mechanism:
-
Normal state:Blue Button。
-
At work:Green button displays status(like“Saving...”or“Copyed”)。
-
Error status:The red button displays error message。
-
🧑💻 @CarpeNoctemXD ⇒ 📜 ChatGPT Code Tools
Recommended browser and script manager:
- Greasemonkey + Waterfox
- Tampermonkey/Violentmonkey + Firefox
- Tampermonkey/Violentmonkey + Chrome
- Userscripts + ios Safari
- Violentmonkey/KiWiBrowser + Android
If you need to learn more about how to install user scripts,Click meView the teaching of pictures and texts!