Jump to content

browser button


jahlxx

Recommended Posts

How to disable back button in the web browser?

 

I think, for now you can use this technique:

 

MainForm->Script ... add these lines:

Ext.onReady(function() {
    window.location.hash = "main";
    window.location.hash = "again_main"; // again for chrome
    window.onhashchange = function() {
        window.location.hash = "main";
    }
})
  • Like 2
Link to comment
Share on other sites

  • 5 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...