How can I get the destination URL for the onbeforeunload event?

Because it can’t be done. The new location is private/sensitive information.
Nobody wants you to know which sites they visit when they leave your site.

Leave a Comment