Customize context menu and ChatGPT prompt on selected texts

Latest Version

Version
0.1
Update
March 9, 2023
Size
710KiB
Developer
Category
Users
15
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ContextMenus
Storage
See more

Chat with GPT Extension

A Chrome extension for customizing prompts easily.

1. In the option page, define context menu name and chat-gpt prompt (multiple ones)
2. Add your openai api key to the option page
3. Load a web page, select texts, right click and choose a context menu defined in step 1
4. A popup window shows at the bottom-right corner, a background job sends prompt and selected texts to the openai api endpoint.
5. The result will show in the popup window.
6. Click anywhere in the page to dismiss the popup window.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Chat with GPT", "description": "Customize context menu and ChatGPT prompt on selected texts", "version": "0.1", "manifest_version" : 3, "permissions": ["contextMenus", "storage"], "background": { "service_worker": "background.js", "type": "module" }, "content_scripts": [{ "matches": [""], "js": ["content.js"] }], "options_page": "options.html", "icons": { "16": "chat-with-gpt-16.png", "48": "chat-with-gpt-48.png", "128": "chat-with-gpt-128.png" }}
Read more