I notice that some games on itch.io are able to capture the down arrow key and stop it from scrolling the page (ex.: https://elastiskalinjen.itch.io/oh-high).
// prevent itch.io scrolling
window.addEventListener("keydown", function (e) {
if ([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
e.preventDefault();
}
});https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...