scripting media query
The scripting CSS media query sets styles based on whether scripting such as JavaScript is available. Values are enabled if scripting is available, initial-only if scripting is only available on page load (for example, printed content), or none.
Status
Baseline Newly Available (since 2023-12-07)
This feature is expected to reach Baseline Widely Available status on: 2026-06-07
MDN documentation
Specifications
Browser support
- Chrome 120 Released on 2023-12-05
- Chrome Android 120 Released on 2023-12-05
- Edge 120 Released on 2023-12-07
- Firefox 113 Released on 2023-05-09
- Firefox for Android 113 Released on 2023-05-09
- Safari 17 Released on 2023-09-18
- Safari on iOS 17 Released on 2023-09-18
Usage (according to Chrome Platform Status)
~0.597% of page loads. More data at chromestatus.com.
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