We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076d5f2 commit 41d82f0Copy full SHA for 41d82f0
chrome/content.js
@@ -993,6 +993,10 @@ if (is_url_yt(window.location.href)) {
993
'KeyC', // captions
994
];
995
996
+ const TransmitBlacklist = [
997
+ 'ArrowUp', 'ArrowDown', // Scroll
998
+ ];
999
+
1000
document.addEventListener('keydown', (e) => {
1001
if (isActiveElementEditable()) {
1002
return;
@@ -1002,6 +1006,10 @@ if (is_url_yt(window.location.href)) {
1006
1003
1007
}
1004
1008
1009
+ if (TransmitBlacklist.includes(e.code)) {
1010
+ return;
1011
+ }
1012
1005
1013
chrome.runtime.sendMessage({
1014
type: 'transmit_key',
1015
key: getKeyString(e),
0 commit comments