This article needs a technical review. How you can help.
scripting
is a CSS media feature that can be used to check whether scripting (e.g., JavaScript) is available.
Enumerated values
Value | Meaning |
---|---|
none |
Scripting is completely unavailable on the current document. |
initial-only |
Scripting is only enabled during the initial page load but not afterwards. |
enabled |
Scripting is supported and active on the current document. |
Specifications
Specification | Status | Comment |
---|---|---|
Media Queries Level 4 The definition of 'scripting' in that specification. |
Working Draft | Initial definition |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | Not supported[1] | Not supported[2] | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
[1] Blink does not implement this feature yet. See Chromium bug #489957.
[2] Gecko does not implement this feature yet. See bug 1166581.