The scripting
CSS media feature can be used to test whether scripting (such as JavaScript) is available.
Note: The detection is done by the browsers based on the user settings. Some browser extensions can implement script blocking using different techniques. In such cases the scripting
media feature may not work as expected.