---
title: "Day 106: the scripting media feature"
url: https://daily.dev/posts/day-106-the-scripting-media-feature-jgwdylvae
source_url: https://www.matuzo.at/blog/2023/100daysof-day106
type: article
source: "Manuel Matuzović"
published: 2026-06-22T14:42:16.114Z
updated: 2026-06-22T14:43:13.066Z
tags: ["javascript", "css", "accessibility"]
reading_time: 2
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Day 106: the scripting media feature

**[Manuel Matuzović](https://daily.dev/sources/matuzo)** · 2 min read · 0 upvotes · 0 comments

## Summary

The CSS `scripting` media feature lets developers detect whether JavaScript is enabled in the browser, enabling progressive enhancement patterns. Supported in Firefox 117+, Chrome 120+, and Safari 17+, it allows hiding JS-dependent UI elements (like disclosure buttons) when scripting is unavailable, and showing fallback content instead. A practical example demonstrates a disclosure widget that gracefully degrades when JavaScript is disabled.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.matuzo.at/blog/2023/100daysof-day106>

## Similar posts on daily.dev

- [Chrome for Developers](https://daily.dev/posts/chrome-for-developers-8ir9x3upz) · Chrome Developers · 109 upvotes · 6 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#css](https://daily.dev/tags/css), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/day-106-the-scripting-media-feature-jgwdylvae)
