title: How to disable browser back button in Oracle ADF
body: <p>I know. I should not do this. But...</p>
  
  <p>I need to disable browser back button in an ADF web application. I've tried with this code in the initialize javascript function on a jspx (we can call main.jspx):</p>
  
  <pre><code>window.history.forward(1);
  </code></pre>
  
  <p>The back button is not disabled but if I click it after visiting main page (e.g. from the page after main to the main page) it returns to the second page. I would to diasble the back button at all. Is it possible? If you know something specifically for ADF application (also without using javascript) the answer is welcome.</p>
  
  <p>Thanks.</p>