# pvglance iframe back button

**URL:** https://discourse.paraview.org/t/pvglance-iframe-back-button/7468
**Category:** Web Support
**Created:** [June 23, 2021, 8:20am UTC](https://discourse.paraview.org/t/pvglance-iframe-back-button/7468 "2021-06-23T08:20:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Briffou](https://discourse.paraview.org/user_avatar/discourse.paraview.org/briffou/32/6958_2.png) [@Briffou](https://discourse.paraview.org/u/Briffou)
#### Post date: [June 23, 2021, 8:20am UTC](https://discourse.paraview.org/t/pvglance-iframe-back-button/7468/1 "2021-06-23T08:20:39Z")

</div>

Hello,  
When including pvglance to an iframe (loading data automatically via URLs) I have trouble managing the behaviour of the back button of the web browser, see for instance

https://codepen.io/Briffou/embed/preview/rNyEMwq?default-tabs=html%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=rNyEMwq

Clicking the back button of the web browser go back to the landing page of paraview glance, which I don’t want (In fact, the landing page is “useless” for us, as we always load data via URLs).  
Is there a simple way to:

1. Disable landing page or
2. Prevent pvglance from adding an entry to browser history

Thanks !

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [June 23, 2021, 6:20pm UTC](https://discourse.paraview.org/t/pvglance-iframe-back-button/7468/2 "2021-06-23T18:20:48Z")

</div>

We can add a startup option to Glance to disable the landing page, which should help resolve this issue. I will update this thread when this is done.

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [June 23, 2021, 7:47pm UTC](https://discourse.paraview.org/t/pvglance-iframe-back-button/7468/3 "2021-06-23T19:47:36Z")

</div>

Check out [Add setting to disable history routing by floryst · Pull Request #395 · Kitware/paraview-glance · GitHub](https://github.com/Kitware/paraview-glance/pull/395). I opted to instead add a mechanism to disable the browser history aspect. Once that PR goes in, you will be able to add a URL parameter `setting.noHistory=true`.

---

<div class="post-metadata">

### Author: ![Briffou](https://discourse.paraview.org/user_avatar/discourse.paraview.org/briffou/32/6958_2.png) [@Briffou](https://discourse.paraview.org/u/Briffou)
#### Post date: [June 24, 2021, 6:30am UTC](https://discourse.paraview.org/t/pvglance-iframe-back-button/7468/4 "2021-06-24T06:30:10Z")

</div>

Tested and approved ! Thank you for your responsiveness @Forrest_Li !
