# Browser Back button

**URL:** <https://forum.bubble.io/t/browser-back-button/305198>\
**Category:** Questions\
**Created:** [January 31, 2024, 6:14pm UTC](https://forum.bubble.io/t/browser-back-button/305198 "2024-01-31T18:14:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xho-h](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/xho-h/32/246148_2.png) [@xho-h](https://forum.bubble.io/u/xho-h)\
**Post date:** [January 31, 2024, 6:14pm UTC](https://forum.bubble.io/t/browser-back-button/305198/1 "2024-01-31T18:14:10Z")

</div>

Hi everyone!  
I am making an app and I need to disable the users ability to use the back button in the browser.  
Can anyone help me?  
Thank you!

---

<div class="post-metadata">

**Author:** ![nico.dicagno](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nico.dicagno/32/207961_2.png) [@nico.dicagno](https://forum.bubble.io/u/nico.dicagno)\
**Post date:** [January 31, 2024, 6:19pm UTC](https://forum.bubble.io/t/browser-back-button/305198/2 "2024-01-31T18:19:32Z")

</div>

Theres quite a lot of stuff on the forum about this:

> [@One way to "disable" browser back button](https://forum.bubble.io/t/one-way-to-disable-browser-back-button/116421):
>
> I have a single page app and my users have complained that they are taken out of the app when they hit the browser back button. Sometimes this causes them to lose work, so it’s a pain. There have been some posts on this in the forum, but I wasn’t able to find a simple solution to this problem so I’m posting a potential solution here. I stumbled across some simple javascript that detects the browser button being pressed and then immediately pushes forward (to the same page they were on) using th…

---

<div class="post-metadata">

**Author:** ![xho-h](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/xho-h/32/246148_2.png) [@xho-h](https://forum.bubble.io/u/xho-h)\
**Post date:** [January 31, 2024, 6:43pm UTC](https://forum.bubble.io/t/browser-back-button/305198/3 "2024-01-31T18:43:28Z")

</div>

thank you
