script

Recipe 5.2 Respect user preferences

Sample:

Hint: Disable JS
content

Code:

<style>
@media (scripting: enabled) {
  .disclosure-content {
    display: none;
  }
}
</style>

Hint: Disable JS
<div class="disclosure-content">content</div>