Skip to content Skip to sidebar Skip to footer

Js Event To See If Mobile Safari Has Been Closed?

Is there a JS event that gets triggered if a user closes Safari on their iPhone? onunload works if a person leaves a page, but is not called when the browser is closed. My hunch is

Solution 1:

Not exactly, but look in the comments for the pagehide event: What event fires when a WebKit WebApp is "terminated"


Post a Comment for "Js Event To See If Mobile Safari Has Been Closed?"