-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmanifest.json
52 lines (51 loc) · 1.65 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
46
47
48
49
50
51
52
{
"manifest_version":3,
"name":"GfG to GitHub",
"description":"Automatically pushes your GeeksForGeeks solution to a GitHub Repository of your choice within seconds on successful submission.",
"homepage_url":"https://github.com/AtharvaNanavate/GfG-To-GitHub",
"version":"1.1.2",
"author": "Atharva Nanavate",
"action": {
"default_icon": "assets/thumbnail.png",
"default_popup": "popup.html"
},
"icons": {
"16": "assets/logo_128x128.png",
"48": "assets/logo_128x128.png",
"128": "assets/logo_128x128.png"
},
"background": {
"service_worker": "scripts/background.js"
},
"permissions": [
"scripting",
"storage"
],
"host_permissions":[
"https://github.com/*",
"https://api.github.com/*",
"https://practice.geeksforgeeks.org/*",
"https://www.geeksforgeeks.org/*"
],
"web_accessible_resources": [{
"resources": ["scripts/extractCode.js","script/nodeDeletion.js"],
"matches": ["https://practice.geeksforgeeks.org/*","https://www.geeksforgeeks.org/*"]
}],
"content_scripts": [
{
"matches": [
"https://github.com/*",
"https://practice.geeksforgeeks.org/*",
"https://www.geeksforgeeks.org/*"
],
"js": [
"scripts/localSetup.js",
"scripts/geeksForGeeks.js"
],
"run_at": "document_idle"
}
],
"content_security_policy": {
"extension pages": "script-src 'self'; object-src 'self';"
}
}