You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use window.onbeforeunload event to prevent users from losing their form data when they try to close the page. But a user can click on <Link>, and they will be redirected to another page on the website. And there is no possibility to prevent it.
The text was updated successfully, but these errors were encountered:
I use
window.onbeforeunload
event to prevent users from losing their form data when they try to close the page. But a user can click on<Link>
, and they will be redirected to another page on the website. And there is no possibility to prevent it.The text was updated successfully, but these errors were encountered: