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).
source
share