How to disable back button in browser | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to disable back button in browser

12th Nov 2017, 4:37 PM
mohamed fayaz
mohamed fayaz - avatar
4 Answers
+ 9
only reasons that comes to my mind are nefarious. but yes, why would one want to do that?
12th Nov 2017, 4:40 PM
jay
jay - avatar
+ 2
I don't think you can, also why would you do that?
12th Nov 2017, 4:38 PM
Marcus Søndergaard
Marcus Søndergaard - avatar
+ 1
i need to generate one payment id for one transaction
12th Nov 2017, 4:41 PM
mohamed fayaz
mohamed fayaz - avatar
+ 1
Do what all other systems do for that, state that using back might cause double charges and don't worry about it. You don't have that kind of access to the browser. It might lead to hacking the browser or user so they don't support anything like that.
12th Nov 2017, 5:09 PM
John Wells
John Wells - avatar