unload
Execute code when the js-process exits. On all javascript-environments
teneturiste
Execute code when the js-process exits. On all javascript-environments
on-load
On load/unload events for DOM elements using a MutationObserver
react-beforeunload
React component and hook which listens to the beforeunload window event.