I have a pop-up message that tells the user when JavaScript is disabled. The problem is happening in Chrome .
Here is a site with my <noscript> : Cloud9 Website . It is empty if you have JavaScript enabled. Here's how to duplicate my experience:
- View a blank page.
- Disable JavaScript.
- Reload the page.
You should be able to see the raw HTML inside the <noscript> . If you reload the page, a message appears.
I also tested this locally with XAMPP: same thing.
This is my HTML:
<noscript> <div class="nojs">This website requires JavaScript to run.  Please<a href="activatejs.php"class="link" target="_blank">enable it</a> or use a web browser that supports JavaScript.</div> </noscript>
source share