TEMPORARILY Disable Back Button
[SOLVED] Hey folks. I'm building a game where some actions have a chance of negative consequences. I want to prevent the player from abusing the Back mechanic to avoid those consequences, but I want to keep it in the game for general navigation purposes.
I've searched online, and I've only found references to things that either disable it for the whole game (adding Config.history.controls = false; to the Story JavaScript) or that disable the entire sidebar (tagging the passage "risky" and adding body.risky #ui-bar {display: none;} to the Stylesheet), which I don't want to do.
Help is appreciated :) Story Format is SugarCube 2.37.3