how to disable back and forward button in browser using node js code example
Example: disable back button in browser
<script type="text/javascript"> function preventBack() {window.history.forward();} setTimeout("preventBack()", 0); window.onunload = function () {null};</script>