The problem
This content script fires on Twitch's "choose a channel" page, but when you choose the channel, it doesn't fire. How do I make it fire on the channels page when redirected from "choose a channel" page? Thanks.
https://i.stack.imgur.com/ykZmP.png
https://i.stack.imgur.com/vhWnP.png
The code
manifest.json
{
"manifest_version": 2,
"name": "stuff",
"version": "1.0",
"description": "desc",
"content_scripts": [
{
"js": [ "script.js" ],
"matches": [ "http://*.twitch.tv/*" ],
"run_at": "document_end"
}
]
}
script.js
function init()
{
alert("Script executed");
}
init();