How to disable the browser back button in javascript

how to disable the browser back button in javascript.

Dont!
Am 23.04.2015 15:17 schrieb “usha rani” [email protected]:

You can’t, and you shouldn’t.

every other approach / alternative will only cause really bad user
engagement.

but anyway , here is a trick :

Put This script on head of your page and change ‘pagename’ to your page
name.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs