JS to find out if Mobile Safari is closed?

Is there a JS event that fires when a user closes Safari on their iPhone? onunload works if the user leaves the page but is not called when the browser is closed.

My hunch is that there is no event triggered by the event, since closing Mobile Safari simply “minimizes” rather than closing it. Can anyone confirm?

+1
source share
1 answer

Not really, but look at the comments for the event pagehide: Which event fires when WebKit WebApp is completed and

0
source

All Articles