How do I prevent someone from going back to previous page?
function preventBack() window. history. forward(); setTimeout("preventBack()", 0); window.
Can you disable Back button in Chrome?
To disable the browser "Back" button for a specific page: Open the "UI" tab of the page description window ( "Description" option in the page popup menu). In the "Options" area, for the option "Browser "Back" button", select "Forbidden".