-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmanifest.json
More file actions
50 lines (50 loc) · 1.3 KB
/
manifest.json
File metadata and controls
50 lines (50 loc) · 1.3 KB
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
46
47
48
49
50
{
"manifest_version": 3,
"name": "Pic-Grabber",
"version": "1.6",
"description": "Download any image from any webpage, including protected and dynamically loaded images",
"icons": {
"16": "assets/download-16.png",
"32": "assets/download-32.png",
"48": "assets/download-48.png"
},
"permissions": [
"downloads",
"scripting",
"activeTab",
"webRequest",
"storage",
"tabs",
"sidePanel"
],
"host_permissions": [
"<all_urls>"
],
"background": {
"service_worker": "js/background.js"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"css": ["css/styles.css"],
"js": ["js/utils.js", "js/content.js"],
"run_at": "document_start"
}
],
"side_panel": {
"default_path": "sidebar.html"
},
"web_accessible_resources": [{
"resources": ["sidebar.html", "css/sidebar.css", "js/sidebar.js"],
"matches": ["<all_urls>"]
}],
"action": {
"default_title": "Pic-Grabber",
"default_popup": "popup.html",
"default_icon": {
"16": "assets/download-16.png",
"32": "assets/download-32.png",
"48": "assets/download-48.png"
}
}
}