Friday, September 28, 2018

Break Back Button on browser

<head>
<script type = "text/javascript" >

        function preventBack() { window.history.forward(); }

        setTimeout("preventBack()", 0);

        window.onunload = function () { null };

</script>
</head>

No comments:

Post a Comment

JAVA SCRIPT GET ELEMENT BY ID CONCEPT

  JavaScript getElementById() with HTML Control – Simple Example with Result What is getElementById() ? getElementById() is a JavaScript...