Adds a 'Save Code' button to directly save the content of a codebox to a file. Adjusts to many file extensions automatically.
'Save code' button for ChatGPT Extension
Adds a 'Save Code' button to directly save the content of a codebox to a file. Adjusts to many file extensions automatically. The button is designed to blend in with ChatGPT's design and is therefore unintrusive.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "'Save code' button for ChatGPT", "description": "Adds a 'Save Code' button to directly save the content of a codebox to a file. Adjusts to many file extensions automatically.", "version": "1.0", "permissions": ["storage", "clipboardWrite"], "action": { "default_popup": "popup.html" }, "background": { "service_worker": "background.js" }, "options_page": "options.html", "icons": { "128": "icon128.png" }, "content_scripts": [{ "matches": ["https://chat.openai.com/*"], "js": ["contentScript.js"] }]}
Read more