-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
32 lines (32 loc) · 944 Bytes
/
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
{
"name": "Easy Read",
"version": "1.0.0",
"manifest_version": 2,
"author": "William.G",
"description":"1.对theguardian文章页进行过滤; 2.根据屏幕进行分页; 3.划词翻译",
"icons": {
"16": "img/icon16.png",
"48": "img/icon48.png",
"128": "img/icon128.png"
},
"content_scripts": [
{
"matches": ["https://www.theguardian.com/*/*/*"],
"css": ["css/style.css"],
"js": ["js/utils.js","js/content_script.js"],
"run_at": "document_end"
}
],
"browser_action": {
"default_icon": "img/icon16.png",
"default_title": "Easy Read"
},
"permissions": [
"http://*.shanbay.com/",
"https://*.shanbay.com/"
],
"web_accessible_resources":[
"img/audio.png"
],
"content_security_policy": "script-src 'self'; object-src 'self'; media-src 'https:'"
}