CloseWatcher
The CloseWatcher API listens and responds to close requests on in-page components, such as modals, popovers, and sidebars.
Status
Limited availability
MDN documentation
Specifications
- HTML (#close-requests-and-close-watchers), from HTML Workstream (WHATWG).
Browser support
- Chrome 126 Released on 2024-06-11
- Chrome Android 126 Released on 2024-06-11
- Edge 126 Released on 2024-06-13
- Firefox ❌
- Firefox for Android ❌
- Safari ❌ Vendor position : neutral
- Safari on iOS ❌ Vendor position : neutral
Usage (according to Chrome Platform Status)
~0.011% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper signals
Votes: 1
If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist