deadlock Message Board
[ February Full List | Reply ]

Re: Websites that disable back button
From Just Helping on 4 June '01
replying to Re: Websites that disable back button posted by Shalini

Place this line of script:

<script language="Javascript">
<!--
javascript:window.history.forward(1);
//-->

</script>

on the page you want to protect--like your form page. When someone trys to go back to that page via the back button, it automatically kicks them forward 1 (to the page from which they clicked the back button)




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message