Web-Translate
支持PDF和Web的划词翻译插件
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "Web-Translate",
"version": "1.2.13",
"description": "支持PDF和Web的划词翻译插件",
"icons": {
"48": "resources/icons/web-translate.png"
},
"permissions": [
"activeTab",
"tabs",
"contextMenus",
"storage",
"<all_urls>"
],
"background": {
"page": "background/background.html"
},
"options_ui": {
"page": "options/config.html",
"open_in_tab": true
},
"browser_action": {
"default_icon": "resources/icons/web-translate.png",
"default_title": "WebTranslate",
"default_popup": "popup/tt.html"
},
"web_accessible_resources": [
"content_css/hy_icons.png",
"content_css/loading_v2.gif",
"content_css/bg.gif",
"content_css/img/hy_icons.png",
"content_css/img/slider.png",
"content_scripts/pdfjs/web/*/*",
"content_scripts/pdfjs/web/*"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}