Adds an additional 'Copy Code' button and code statistics at the bottom of code snippets in ChatGPT.

Latest Version

Version
1.4.3
Update
September 16, 2024
Size
260KiB
Developer
kgniewek.com
Category
Users
198
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

ChatGPT Bottom Copy Code Button & Statistics Extension

This tool adds a 'Copy Code' button below code snippets, making it easier to copy and use code examples without scrolling to the top. This feature saves time and helps avoid website performance issues that occur when generating long messages and trying to scroll to the top simultaneously. Additionally, it can display code statistics, showing the number of lines & characters in each snippet. Useful for recognizing changes in code length.

📋 Effortless Code Copying: Adds a 'Copy Code' button at the bottom of each code snippet, so you don't have to scroll to the top.
🔢 Live Code Statistics: Continuously displays the number of lines and characters in the code snippet as it’s being generated.
🎨 Seamless Integration: Blends perfectly with the website’s design, matching the original 'Copy Code' button style.
⚡ Smooth Performance: Works flawlessly even during message generation.
💻 Language Detection: Automatically identifies and displays the programming language of the code.
🔧 Customizable Options: Easily toggle the additional bar and code statistics through the extension popup.
📅 Up-to-Date: Fully compatible with the latest version of ChatGPT as of Q3 2024.

✅ Perfect for developers and programmers who need efficient code snippet copying and quick access to line and character counts.
🔴 Official extension website: https://strona.plus/project/3

⚙️ Popup Settings
➊ Enable additional 'Copy code' button
➋ Display code's programming language
➌ Show line and character count

⭐ If you find this extension helpful, please rate it. Consider buying me a coffee ☕ https://buymeacoffee.com/kgniewek
🛠️ For any questions or feedback, contact me at [email protected] or visit kgniewek.com/project/3
🔒 This extension does not collect any data. Your settings are stored locally. Details: kgniewek.com/project/3
🔲 Image by Freepik
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "ChatGPT Bottom Copy Code Button & Statistics", "version": "1.4.3", "description": "Adds an additional 'Copy Code' button and code statistics at the bottom of code snippets in ChatGPT.", "permissions": [ "storage" ], "content_scripts": [ { "matches": ["*://chatgpt.com/*"], "js": ["content.js"] } ], "background": { "service_worker": "background.js" }, "action": { "default_popup": "popup.html", "default_icon": { "48": "icon48.png", "128": "icon128.png" } }, "icons": { "48": "icon48.png", "128": "icon128.png" }, "web_accessible_resources": [ { "resources": [ "fonts/Inter-Regular.woff", "fonts/Inter-Regular.woff2" ], "matches": [""] } ]}
Read more