Detecting browser tab closure using JavaScript in Mobile Safari?

I need to get any event when the user clicks the close button on the current browser tab. None of the methods that I use in such cases worked (for example, onunload, unload and screenhide events handle not closing the discovery tab, change or update tab).

+5
source share
1 answer

From Safari Documentation :

unload Deprecated, use the page instead.

, , "", (. ), Mobile Safari! .

0

All Articles