I Hear You Twitch
Plays a sound when new message comes in Twitch chat
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "I Hear You Twitch",
"version": "1.3.0",
"description": "Plays a sound when new message comes in Twitch chat",
"icons": {
"16": "images/icon-16.png",
"128": "images/icon-128.png"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"content_scripts": [
{
"matches": [
"*://*.twitch.tv/*",
"*://*.youtube.com/*"
],
"js": [
"contentscript.js"
],
"run_at": "document_idle",
"all_frames": true
}
],
"action": {
"default_icon": {
"19": "images/icon-19.png",
"38": "images/icon-38.png"
},
"default_title": "I Hear You - Twitch"
},
"permissions": [
"storage"
],
"web_accessible_resources": [
{
"resources": [
"new_message.mp3",
"images/*.png"
],
"matches": [
"*://*.twitch.tv/*",
"*://*.youtube.com/*"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
}
}