OpenAI Translator
OpenAI Translator is a Firefox extension that uses the ChatGPT API for translation.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 3,
"name": "OpenAI Translator",
"description": "OpenAI-Translator is a browser extension that uses the ChatGPT API for translation.",
"version": "0.3.7",
"icons": {
"16": "icon.png",
"32": "icon.png",
"48": "icon.png",
"128": "icon.png"
},
"options_ui": {
"page": "src/browser-extension/options/index.html",
"open_in_tab": true
},
"action": {
"default_icon": "icon.png",
"default_popup": "src/browser-extension/popup/index.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"all_frames": true,
"match_about_blank": true,
"js": [
"src/browser-extension/content_script/index.js"
]
}
],
"background": {
"page": "background.html"
},
"permissions": [
"storage",
"contextMenus"
],
"commands": {
"open-popup": {
"suggested_key": {
"default": "Ctrl+Shift+Y",
"mac": "Command+Shift+Y"
},
"description": "Open the popup"
}
},
"host_permissions": [
"https://*.openai.com/",
"https://*.openai.azure.com/",
"https://*.ingest.sentry.io/",
"*://speech.platform.bing.com/",
"https://*.googletagmanager.com/",
"https://*.google-analytics.com/",
"https://*.minimax.chat/",
"https://*.githubusercontent.com/",
"https://*.baidu.com/",
"https://api-edge.cognitive.microsofttranslator.com/",
"https://*.microsoft.com/",
"https://*.google.com/",
"https://*.googleapis.com/"
],
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
}
},
"web_accessible_resources": [
{
"resources": [
"assets/src/browser-extension/content_script/index-9608e8d1.js",
"assets/i18n-64a3c542.js",
"assets/action-0710a9d6.js",
"assets/electron-917d39d0.js",
"assets/tauri-498f180e.js",
"assets/index.min-499c3404.js",
"assets/browser-polyfill-98f336ed.js",
"assets/index.min-fc1f7240.js",
"assets/Translator-fbf23eba.js",
"assets/vocabulary-f1e9d0f6.js",
"assets/token-eb78f440.js",
"assets/i18n-d2c343f9.css",
"assets/Translator-db659d8b.css"
],
"matches": [
"<all_urls>"
]
}
]
}