LLM-Translator is a browser extension that uses the OpenAI-like API for translation.
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"manifest_version": 3,
"name": "LLM Translator",
"description": "LLM-Translator is a browser extension that uses the OpenAI-like API for translation.",
"version": "0.4.31",
"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",
"webRequest"
],
"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/",
"https://*.moonshot.cn/",
"https://*.volces.com/",
"https://*.chatglm.cn/",
"https://*.cohere.ai/",
"https://*.deepseek.com/"
],
"browser_specific_settings": {
"gecko": {
"id": "i@20110101.xyz"
}
},
"web_accessible_resources": [
{
"resources": [
"assets/src/browser-extension/content_script/index-5ef2b359.js",
"assets/i18n-392d070c.js",
"assets/action-1cbf9e77.js",
"assets/electron-917d39d0.js",
"assets/browser-polyfill-2efbd742.js",
"assets/index-b21077ca.js",
"assets/Translator-64ee6173.js",
"assets/vocabulary-6cd2b0cf.js",
"assets/token-1f0f9f4f.js",
"assets/i18n-d2c343f9.css",
"assets/Translator-db659d8b.css"
],
"matches": [
"<all_urls>"
]
}
]
}