Skip to content Skip to sidebar Skip to footer

Catch Browser Closing Event In Safari Running In Iphone, Ipad Etc

How do i capture the browser closing event in safari running in iPhone ,iPad, itouch etc. as the onbeforeunload event will not work with safari? Many thanks, Hariprasath

Solution 1:

Safari for iOS supports the unload event, which should do the trick. You can find out more information about supported Safari for iOS events here:

https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html

Hope that helps.

Post a Comment for "Catch Browser Closing Event In Safari Running In Iphone, Ipad Etc"