# feature request - refresh browser page when tab re-opened

**URL:** <https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139>\
**Category:** Bugabee\
**Created:** [March 25, 2019, 2:13pm UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139 "2019-03-25T14:13:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clivemeister](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/clivemeister/32/2034_2.png) [@clivemeister](https://forum.beeminder.com/u/clivemeister)\
**Post date:** [March 25, 2019, 2:13pm UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139/1 "2019-03-25T14:13:33Z")

</div>

I quite often leave my page of beeminder goals open as a browser tab. Then the next day, when I click on that tab, I sometimes forget to hit refresh before I add a datapoint. This means the datapoint gets added for the wrong date, since the page still thinks it’s yesterday’s date in all the data-adding widgets.

Of course I could just hit refresh in the first place, or go fix the data afterwards, but maybe you could spot the tab re-selection in javascript, and if it’s a new day, refresh the page for me? My javascript is still too trial-and-error to know what the right event is, but maybe it’s when you get the focus() event or something like that…

This is with Chrome as my browser, on Windows.

---

<div class="post-metadata">

**Author:** ![narthur](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/narthur/32/5113_2.png) [@narthur](https://forum.beeminder.com/u/narthur)\
**Post date:** [March 25, 2019, 2:27pm UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139/2 "2019-03-25T14:27:08Z")

</div>

This is even worse if you’re entering a data point that puts you on the wrong side of the road, as adding such a point for the current day does not derail you, but adding one for the previous day immediately derails you.

---

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [March 26, 2019, 12:15am UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139/3 "2019-03-26T00:15:58Z")

</div>

Does this describe (more or less) what you are looking for?

> [@Request: auto refresh for dashboard](https://forum.beeminder.com/t/request-auto-refresh-for-dashboard/4869):
>
> Did I hit refresh yet? Is this up to date? Am I really gonna derail? Better click in there and hit refresh. Again? Or: Did I lock my car? Better go back and lock it again. In short: I want whatever service is hiding behind [https://www.beeminder.com/$user](https://www.beeminder.com/%24user) to update what’s on the page when some new datapoint got added so I got one less thing on my mind I need to worry about.

---

<div class="post-metadata">

**Author:** ![clivemeister](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/clivemeister/32/2034_2.png) [@clivemeister](https://forum.beeminder.com/u/clivemeister)\
**Post date:** [March 26, 2019, 4:27pm UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139/4 "2019-03-26T16:27:59Z")

</div>

It’s more that I want it refreshed as soon as I view it, rather than when a datapoint got added. Even if I view it by clicking on a tab in my browser that simply brings the already-opened page back into view, I want it refreshed as it is presented to me. Then I know I’ll always be adding a datapoint for today’s date, even if the hidden tab was showing the page with yesterday’s date.

---

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [March 26, 2019, 5:44pm UTC](https://forum.beeminder.com/t/feature-request-refresh-browser-page-when-tab-re-opened/5139/5 "2019-03-26T17:44:52Z")

</div>

The iOS app really trained me to refresh everything Beeminder before doing anything with it 😉 (Though even then the app will happily use the wrong day for your datapoint. It looks like it ignores the deadline setting and just uses the real “today” as “today” instead of the beeminder “today”).

In any case the dashboard tends to get stale and guessing from this discussion we’d like it if it didn’t but showed more up-to-date data. One way or the other.
