« get me outta code hell

Don't play music on YouTube - interactive-bgm - Browser extension that adds background music based on the site you're browsing
about summary refs log tree commit diff
path: root/extension
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-03-22 18:05:30 -0300
committerFlorrie <towerofnix@gmail.com>2019-03-22 18:05:30 -0300
commitd35e93ed9052a73630871fc4270658b090bd775b (patch)
treef63f82d2b1a28805ddef1f1f15aec4682135b69b /extension
parent9652e73c5144939fb2aee9e0a3cffee9fc8249b0 (diff)
Don't play music on YouTube
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js3
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];