CloseWatcher
Limited availability
The CloseWatcher
API listens and responds to close requests on in-page components, such as modals, popovers, and sidebars.
Learn more
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.003% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist