How can I disable the forward and back buttons in a browser from JavaScript?
Created May 14, 2012
John Zukowski You can't. About the best you can do is hide the buttons and disable caching of the pages. Unfortunately, their keyboard equivalents (ALT+Right/Left Arrow) will still work. At least with caching disabled, you're forcing the pages to be refetched from the server.