Open Illyism opened 8 years ago
For anyone else annoyed by this, here's a small userscript that disables the arrow keys. I've only tested it with the Tampermonkey extension on Chrome.
// ==UserScript==
// @name reddit.musicplayer.io
// @description Disables arrow keys at reddit.musicplayer.io
// @match *://reddit.musicplayer.io/*
// @version 1.0
// ==/UserScript==
(function() {
unsafeWindow.document.addEventListener('keyup', function(e) {
switch (e.keyCode) {
case 37: // Left
case 38: // Up
case 39: // Right
case 40: // Down
e.stopImmediatePropagation();
return;
}
}, true);
})();