diff options
author | Florrie <towerofnix@gmail.com> | 2019-03-22 18:05:30 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-03-22 18:05:30 -0300 |
commit | d35e93ed9052a73630871fc4270658b090bd775b (patch) | |
tree | f63f82d2b1a28805ddef1f1f15aec4682135b69b /extension | |
parent | 9652e73c5144939fb2aee9e0a3cffee9fc8249b0 (diff) |
Don't play music on YouTube
Diffstat (limited to 'extension')
-rw-r--r-- | extension/background.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/background.js b/extension/background.js index b23c38b..020a2be 100644 --- a/extension/background.js +++ b/extension/background.js @@ -28,7 +28,8 @@ port.onDisconnect.addListener(() => { browser.runtime.onMessage.addListener(({hostname}) => { const map = { 'scratch.mit.edu': ['mantis'], - 'stackoverflow.com': ['bass', 'main'] + 'stackoverflow.com': ['bass', 'main'], + 'www.youtube.com': [] }; const mode = map[hostname]; |