Created
October 4, 2022 18:58
-
-
Save andredtr/be8865ba3f5722bf00a021317a1f67c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.onbeforeunload = function(){ | |
| debugger; | |
| return 'Are you sure you want to leave?'; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment