Disable Browser Back Button Javascript
Javascript Disable Browser Back Button is used to prevent user from navigating to the previous page by clicking on the back button.
Features
Completely disables the back button of a browser. User cannot attempts to back up within your site. It also disables alt + back arrow. This javascript code supports all kind of browsers.
Preview
Downloads
JavaScript
<!-- Script by hscripts.com --> <script type="text/javascript"> window.history.forward(1); function noBack(){ window.history.forward(); } </script> <!-- Script by hscripts.com -->
HTML Code
<!-- Script by hscripts.com --> <body onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload=""> <center> <a href="test.php"><H2>HIOX</H2></a> <p><b>When ever you have to be click <b>HIOX</b>,the back button will be disabled.</b></p> </center></body> <div style="font-size: 10px;color: #dadada;" id="dumdiv" align=center> <a href="https://www.hscripts.com" id="dum" style="text-decoration:none;color: #dadada;">©</a></div>
Release Date - 21-12-2010 Get free version without ©copyright link for just $5/ -
For customization of this script or any script development, mail to support@hscripts.com
Usage
License
The javascript (misspelled as java script) is given under GPL License.
i.e. Free use for those who use it as it is.
Free, if your modification does not remove our copyright information and links.
Detailed License information can be found here .
You can purchase the script if your requirements does not meet GPL License terms.
Related Scripts