- Issue created by @donquixote
- 🇩🇪Germany donquixote
Btw mdn documents a different way of using this event:
https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_eventInstead of a return value, they call
event.preventDefault()
- First commit to issue fork.
- Assigned to himanshu_jhaloya
- 🇮🇳India himanshu_jhaloya Indore
Hi @donquixote, I have added the event.preventDefault() Instead of a return. Please Review the MR
- Issue was unassigned.
- Status changed to Needs review
9 months ago 7:47am 20 February 2024 - Status changed to Needs work
9 months ago 12:16pm 20 February 2024 - 🇩🇪Germany donquixote
Actually, maybe the string return is not so useless after all?
It could depend on the browser.
I only tested with Brave so far.@himanshu_jhaloya You did a number of pull requests following the proposals already in the issue, but sometimes the original proposal needs to be questioned.