I want to capture the browser window/tab close event. I have tried the following But not working:
Tried these links also but no more success.
I just want to detect the browser close event and do some handling on that without showing the prompt to the user.
Any help will be highly appreciated. Thanks