How reliable is the event window.onbeforeunload
?
- Does it fire in all major browsers?
- Does it fire if the client browser crashes?
- Is it able to delay the close event in case it might need "a little longer" or will it get cut off?
- Are there any alternatives?