<noscript>
<div>
You must enable javascript to continue.
</div>
</noscript>
Ok this makes sense, but still, the contents after this element will be shown, of course in a bad way, but what I am looking for is this:
If javascript is NOT enabled, I want to show this alert message, and NOTHING ELSE, I don’t want to give advice “It’s better if you enabled Javascript”, I want to FORCE, “You MUST ENABLED so you can Continue!”, I don’t wanna give access to my website if javascript is not enbaled, how can I do that?
Add a
No-JavascriptCSS class that hides everything else using CSS, and use Javascript to remove the class immediately (using an inline<script>block in that element).