· Feb 25, 2021

Catch closing tab/menu changing event.

Does anyone know how to get the closing tab/menu changing event in a CSP? I've tried the JS "OnBeforeUnload" already but it seems the browsers aren't allowing it anymore. I need to show a pop-up that holds the user if trying to get away before completing the stage.

Discussion (1)2
Log in or sign up to continue