scripting
is a CSS media feature that can be used to check whether scripting (e.g., JavaScript) is available.
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. |
Specification | Status | Comment |
---|---|---|
Media Queries Level 4 The definition of 'scripting' in that specification. | Working Draft | Initial definition |
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.
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/scripting