Re: [back] and [wake] events

Sorry, second link should be 
https://stackoverflow.com/questions/30933244/how-to-detect-wake-from-sleep-in-the-browser-on-ios-android


Steven

On Friday 05 December 2025 12:57:49 (+01:00), Steven Pemberton wrote:

 > 
 > On Friday 10 January 2025 16:38:56 (+01:00), Steven Pemberton wrote:
 > 
 > > Pulling two past unresolved threads together.
 > > > In some applications I have built/am building, there are two events 
I would love to have:
 > > > [back] Within the app, if the user (out of habit) hits [back], 
rather than going back in the app, it goes to the previous page in the 
browser, thus losing the app. I would dearly like to catch this, to be able 
to do what the user thought was going to happen.
 > > > [wake] If the app is in a browser window, and the user goes away and 
does other things, and then returns, maybe days later, I would love to have 
an event signalling the return, so that I can check that the data is up to 
date for instance.
 > 
 > So I did a little reading, I find these:
 > 
 >   How to Detect Browser Back Button event - Cross Browser
 >   
https://stackoverflow.com/questions/25806608/how-to-detect-browser-back-button-event-cross-browser
 
> 
 >   How to detect wake from sleep in the browser
 >   
https://stackoverflow.com/questions/25806608/how-to-detect-browser-back-button-event-cross-browser
 
> 
 > 
 > That seems to suggest that it is possible to support both proposed 
events.
 > 
 > Steven

Received on Friday, 5 December 2025 15:05:34 UTC