-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
35 lines (35 loc) · 965 Bytes
/
manifest.json
File metadata and controls
35 lines (35 loc) · 965 Bytes
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
{
"manifest_version": 3,
"name": "Study AI",
"version": "1.0",
"description": "Timer Pomodoro inteligente com checklist e persistência.",
"icons": {
"16": "icon.png",
"48": "icon.png",
"128": "icon.png"
},
"action": {
"default_popup": "popup.html",
"default_icon": "icon.png"
},
"background": {
"service_worker": "background.js"
},
"permissions": ["storage", "alarms", "offscreen", "identity"],
"host_permissions": [
"https://api.spotify.com/*"
],
"web_accessible_resources": [
{
"resources": ["offscreen.html"],
"matches": ["<all_urls>"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://api.spotify.com https://accounts.spotify.com"
},
"oauth2": {
"client_id": "YOUR_SPOTIFY_CLIENT_ID_HERE",
"scopes": ["user-read-playback-state", "user-modify-playback-state", "user-read-currently-playing"]
}
}