diff --git a/README.md b/README.md index c2c9633..df82978 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ when you're listening to music on various streaming websites. * Brain.fm * Bugs Music * Castbox.fm + * CBC/Radio-Canada * Chrome Built-In Player * Comcast/Xfinity * Coursera diff --git a/extension/keysocket-cbc.js b/extension/keysocket-cbc.js new file mode 100644 index 0000000..7f34d78 --- /dev/null +++ b/extension/keysocket-cbc.js @@ -0,0 +1,9 @@ +keySocket.init( + "cbc", + { + "play-pause": "button.playButton.player" + //prev is omitted + //next is omitted + // stop is omitted + } +); diff --git a/extension/manifest.json b/extension/manifest.json index 4002ffb..4bcb348 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -100,6 +100,10 @@ "matches": ["*://*.castbox.fm/*"], "js": ["plugin-api.js", "keysocket-castbox.js"] }, + { + "matches": ["*://www.cbc.ca/listen/*"], + "js": ["plugin-api.js", "keysocket-cbc.js"] + }, { "matches": ["*://www.deezer.com/*"], "js": ["plugin-api.js", "keysocket-deezer.js"]