By: 侧边翻译
Inspect and view changes in Edge Translate source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
"background": {
"persistent": true,
"scripts": [
"./background/background.js"
]
},
"browser_action": {
"default_icon": {
"16": "icon/icon16.png",
"48": "icon/icon48.png",
"128": "icon/icon128.png"
},
"default_popup": "./popup/popup.html"
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+Q"
}
},
"cancel_page_translate": {
"description": "__MSG_CancelPageTranslate__"
},
"change_language_setting": {
"description": "__MSG_ChangeLanguageSetting__"
},
"change_mutual_translate": {
"description": "__MSG_MutualTranslation__"
},
"close_result_frame": {
"description": "__MSG_CloseResultFrame__",
"suggested_key": {
"default": "Alt+C"
}
},
"copy_result": {
"description": "__MSG_CopyResult__"
},
"exchange_source_target_lang": {
"description": "__MSG_ExchangeSourceAndTargetLanguage__",
"suggested_key": {
"default": "Alt+S"
}
},
"fix_result_frame": {
"description": "__MSG_FixResultFrame__",
"suggested_key": {
"default": "Alt+X"
}
},
"pronounce_original": {
"description": "__MSG_PronounceOriginal__"
},
"pronounce_selected": {
"description": "__MSG_PronounceSelected__"
},
"pronounce_translated": {
"description": "__MSG_PronounceTranslated__"
},
"toggle_page_translate_banner": {
"description": "__MSG_TogglePageTranslateBanner__"
},
"translate_page": {
"description": "__MSG_TranslatePage__"
},
"translate_selected": {
"description": "__MSG_TranslateSelectedText__"
}
},
"content_scripts": [
{
"js": [
"./content/display/display.js",
"./content/pdf.js"
],
"matches": [
"<all_urls>"
]
},
{
"all_frames": true,
"css": [
"./content/select/select.css"
],
"js": [
"./content/select/select.js"
],
"matches": [
"<all_urls>"
],
"run_at": "document_start"
},
{
"js": [
"./content/banner_controller.js"
],
"matches": [
"<all_urls>"
]
},
{
"all_frames": true,
"js": [
"./content/deepl_injector.js"
],
"matches": [
"*://*.deepl.com/*"
]
}
],
"content_security_policy": "script-src 'self' 'unsafe-eval' chrome-extension://hfjbmagddngcpeloejdejnfgbamkjaeg/ chrome-extension://aibcglbfblnogfjhbcmmpobjhnomhcdo/; object-src 'self'",
"default_locale": "en",
"description": "__MSG_Description__",
"homepage_url": "https://github.com/EdgeTranslate/EdgeTranslate/wiki",
"icons": {
"16": "icon/icon16.png",
"48": "icon/icon48.png",
"128": "icon/icon128.png"
},
"manifest_version": 2,
"minimum_chrome_version": "55",
"name": "__MSG_AppName__",
"options_ui": {
"chrome_style": false,
"open_in_tab": true,
"page": "./options/options.html"
},
"permissions": [
"notifications",
"contextMenus",
"storage",
"cookies",
"tabs",
"<all_urls>",
"webRequest",
"webRequestBlocking"
],
"version": "2.4.0",
"web_accessible_resources": [
"**/*.css",
"**/*.png",
"youdao/*",
"google/*"
],
"browser_specific_settings": {
"gecko": {
"id": "{77feef59-7c88-4a5d-ab55-db3304641f39}"
}
}
} Best Edge Translate Alternatives
Here are some Firefox add-ons that are similar to Edge Translate: