Last active
November 30, 2020 16:59
-
-
Save acjr1910/43534ec6aa9c1ca2dc66d5489d283c10 to your computer and use it in GitHub Desktop.
Opens debugger before window's redirect
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.addEventListener("beforeunload", function() { debugger; }, false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment