This question already has an answer here:
Stop chrome back/forward two finger swipe
Could you try using a combination of:
- intercepting the browser
window.onbeforeunload, as per this example, and
- disabling navigation using the technique illustrated in this example?