A simple example of using JavaScript itself to detect if it is or isn't enabled:

JavaScript is not supported.