diff --git a/goodtube.js b/goodtube.js index 7ff264d..8f978bb 100644 --- a/goodtube.js +++ b/goodtube.js @@ -639,6 +639,11 @@ return; } + // Make sure we're watching a video + if (window.location.href.indexOf('.com/watch') === -1) { + return; + } + // Get the key pressed in lower case let keyPressed = event.key.toLowerCase();