-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
41 lines (41 loc) · 1.2 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
{
"manifest_version": 3,
"name": "SparxExt Lite",
"author": "https://varunaditya.xyz",
"description": "The open source SparxMaths solving extension with AutoBookworks™",
"version": "1.0",
"permissions": [
"activeTab",
"storage",
"scripting",
"tabs",
"webRequest",
"declarativeNetRequestWithHostAccess",
"declarativeNetRequest",
"debugger"
],
"host_permissions": [
"https://sparxmaths.uk/*",
"https://*.sparxmaths.uk/*"
],
"content_scripts": [
{
"matches": ["https://sparxmaths.uk/*", "https://www.sparxmaths.uk/*"],
"js": ["main/sparxmaths.js", "deps/h2c.js", "deps/helpers.js"],
"css": ["main/sparxmaths.css"]
}
],
"web_accessible_resources": [
{
"resources": ["icon.png"],
"matches": ["https://sparxmaths.uk/*", "https://www.sparxmaths.uk/*"]
},
{
"resources": [ "deps/h2c.js" ],
"matches": ["https://sparxmaths.uk/*", "https://www.sparxmaths.uk/*"]
}
],
"background": { "service_worker": "main/bookworks.js" },
"icons": { "16": "icon.png", "48": "icon.png", "128": "icon.png" },
"content_security_policy": { "extension_page":"script-src 'self' 'wasm-unsafe-eval'; object-src 'self'" }
}