# How to disable back/forward button in UI page?

**URL:** <https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, security, function-node\
**Created:** [19 March 2024 06:32 UTC](https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550 "2024-03-19T06:32:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![2shlee](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/2shlee/32/89413_2.png) [@2shlee](https://discourse.nodered.org/u/2shlee)\
**Post date:** [19 March 2024 06:32 UTC](https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550/1 "2024-03-19T06:32:34Z")

</div>

I want to disable the forward and back button of browser for dashboard screen.  
Is there any solution for me?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 March 2024 07:03 UTC](https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550/2 "2024-03-19T07:03:00Z")

</div>

Node-red cannot control a users browser. You need some kind of [Kiosk mode](https://discourse.nodered.org/search?context=topic&context_id=86550&q=Kiosk%20mode%20order%3Alatest&skip_context=true).

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 March 2024 11:10 UTC](https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550/3 "2024-03-19T11:10:39Z")

</div>

> [@2shlee](#):
>
> disable the forward and back button of browser

This is at least partly achievable:

> <https://stackoverflow.com/questions/12381563/how-can-i-stop-the-browser-back-button-using-javascript>

> **[disable the forward and back button of browser at DuckDuckGo](https://duckduckgo.com/?q=disable%2Bthe%2Bforward%2Band%2Bback%2Bbutton%2Bof%2Bbrowser&t=vivaldi&ia=web)**
>
> DuckDuckGo. Privacy, Simplified.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 April 2024 11:11 UTC](https://discourse.nodered.org/t/how-to-disable-back-forward-button-in-ui-page/86550/4 "2024-04-18T11:11:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
