The "Unload" event can be caused by both the "Update" action and the "Close window". is there any way to distinguish an action that actually triggers it? In my situation, I want to ignore the Refresh action. Could you tell me what work is?
I noticed that this type of question already exists, but it seems that all of them have not been resolved. So I raised this question again, and hopefully some smart guy can solve this problem.
javascript events refresh
didxga
source share