-
Notifications
You must be signed in to change notification settings - Fork 3
Description
This GitHub issue is for collecting web developer signals for beforeunload.
The beforeunload event is fired when the current window is about to be unloaded. Typically this is used to display a dialog to confirm if users really want to leave the page when there is unsaved data that would be lost.
Browser support
- Chrome 1 (Dec 11, 2008)
- Chrome Android 18 (Jun 27, 2012)
- Edge 12 (Jul 29, 2015)
- Firefox 1 (Nov 9, 2004)
- Firefox for Android 4 (Mar 29, 2011)
- Safari 3 (Oct 26, 2007)
- Safari on iOS: not supported
Give us feedback
If you're pressed for time, but you want this feature to be available in all browsers, please give this issue a thumbs up 👍 reaction.
However, a much better guide for us is to know how you'd use this feature, and what you're having to do in the meantime. This helps us judge the priority versus other features.
Copy the template below in a comment, and add the details that matter to you.
## What I want to do with this feature
<!-- Add your specific use-cases, even if they seem obvious to you. -->
## What I'm having to do in the meantime
<!--
Are you having to use another feature instead, a polyfill, or is it blocking you completely?
Why are the alternatives worse than using this feature?
-->All comments are expected to adhere to the Code of Conduct.
Learn more
You can learn more about this feature here: