diff --git a/src/js/script.js b/src/js/script.js index e4ea78ec9..9f8cf83ca 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -4260,6 +4260,11 @@ $(document).keydown((event) => { } } + //blocking firefox from going back in history with backspace + if (event.key === "Backspace") { + event.preventDefault(); + } + //only for the typing test if ($("#wordsInput").is(":focus")) { const isBackspace =