From d35e93ed9052a73630871fc4270658b090bd775b Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 22 Mar 2019 18:05:30 -0300 Subject: Don't play music on YouTube --- extension/background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extension/background.js') 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]; -- cgit 1.3.0-6-gf8a5