-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
33 lines (33 loc) · 1.48 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"background": {
"page": "background/background.html"
},
"browser_action": {
"default_icon": {
"128":"resources/icons/128.png",
"64":"resources/icons/64.png",
"32":"resources/icons/32.png"
},
"default_popup": "popup/tt.html",
"default_title": "PDFTranslate"
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"description": "支持PDF和Web的划词翻译插件",
"icons": {
"48": "resources/icons/64.png"
},
"content_scripts": [ {
"css": [ "./content_css/huaci_mini.css", "./content_css/huaci_mini_chrome.css" ],
"js": [ "content_scripts/translate-iciba.js"],
"matches": [ "http://*/*", "https://*/*", "ftp://*/*", "file://*/*" ,"\u003Call_urls>"]
} ],
"manifest_version":2,
"name": "PDF-Translate",
"options_ui": {
"open_in_tab": true,
"page": "options/config.html"
},
"permissions": [ "alarms", "clipboardRead", "contextMenus", "cookies","notifications", "contextMenus", "storage", "tabs", "activeTab", "webRequest", "webRequestBlocking", "\u003Call_urls>", "webNavigation" ],
"version": "1.0",
"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/*","http:/*", "https:/*", "ftp:/*", "file:/*", "chrome-extension:/*", "blob:*", "data:*", "filesystem:/*", "drive:*","*://*/*" ]
}