-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmanifest.json
106 lines (104 loc) · 2.5 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"manifest_version": 3,
"name": "Lichess enhancement",
"version": "4",
"description": "New styles of pieces and boards for Lichess",
"homepage_url": "https://github.com/ducksper/lichess_enhancement",
"icons": {
"48": "ressources/logo/chesscom_pawn.png"
},
"permissions": [
"scripting",
"activeTab",
"storage",
"declarativeNetRequest",
"declarativeNetRequestFeedback"
],
"host_permissions": ["*://*.lichess.org/*", "*://*.lichess1.org/*"],
"content_scripts": [
{
"matches": ["*://*.lichess.org/*", "*://*.lichess1.org/*"],
"js": [
"main.js",
"ressources/js/arrive.js",
"ressources/js/Boards.js",
"ressources/js/Pieces.js"
],
"run_at": "document_end",
"all_frames": true
}
],
"background": {
"service_worker": "background.js"
},
"declarative_net_request": {
"rule_resources": [
{
"id": "none",
"enabled": true,
"path": "ressources/sound_rulesets/none.json"
},
{
"id": "chessdotcomdefault",
"enabled": false,
"path": "ressources/sound_rulesets/chessdotcomdefault.json"
},
{
"id": "marble",
"enabled": false,
"path": "ressources/sound_rulesets/marble.json"
},
{
"id": "beat",
"enabled": false,
"path": "ressources/sound_rulesets/beat.json"
},
{
"id": "lolz",
"enabled": false,
"path": "ressources/sound_rulesets/lolz.json"
},
{
"id": "metal",
"enabled": false,
"path": "ressources/sound_rulesets/metal.json"
},
{
"id": "nature",
"enabled": false,
"path": "ressources/sound_rulesets/nature.json"
},
{
"id": "newspaper",
"enabled": false,
"path": "ressources/sound_rulesets/newspaper.json"
},
{
"id": "pebbles",
"enabled": false,
"path": "ressources/sound_rulesets/pebbles.json"
},
{
"id": "silly",
"enabled": false,
"path": "ressources/sound_rulesets/silly.json"
},
{
"id": "space",
"enabled": false,
"path": "ressources/sound_rulesets/space.json"
}
]
},
"action": {
"default_icon": "ressources/logo/chesscom_pawn.png",
"default_title": "Lichess enhancement",
"default_popup": "index.html"
},
"web_accessible_resources": [
{
"resources": ["ressources/*"],
"matches": ["<all_urls>"]
}
]
}