From eb6d22991d5fbdb16f4a7347b55a9e8a18ea8593 Mon Sep 17 00:00:00 2001 From: Christopher Caroni Date: Tue, 26 Sep 2023 18:34:53 +0200 Subject: [PATCH] Ignore ctrl key --- extension/contentScript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/contentScript.js b/extension/contentScript.js index dddac56..52c5265 100644 --- a/extension/contentScript.js +++ b/extension/contentScript.js @@ -122,7 +122,7 @@ }) document.addEventListener("keydown", e => { - if (isWatchVideoPage() && e.code == 'KeyF' && !isWritingText(e)) { + if (isWatchVideoPage() && !e.ctrlKey && e.code == 'KeyF' && !isWritingText(e)) { console.log(e) fastToggleFullScreen() }