-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
45 lines (45 loc) · 1.06 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
34
35
36
37
38
39
40
41
42
43
44
45
{
"manifest_version": 3,
"name": "rubyAi",
"description": "Translates Any language text on webpages to Any language and displays the translation as ruby above the text.",
"version": "0.0.0.1",
"permissions": [
"activeTab", "tabs",
"storage", "scripting"
],
"host_permissions": [
"<all_urls>",
"https://*.googleapis.com/"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
],
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
}
},
"icons": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"web_accessible_resources": [
{
"resources": ["styles.css"],
"matches": ["<all_urls>"]
}
]
}