No noscript, m’kay?
To generalize, there are three different standpoints web developers usually take when it comes to implementing JavaScript in a web page.
- Make it JavaScript dependant
- This usually means making the web site and important functionality of it dependant on the visitor having JavaScipt activated alternatively a web browser that supports JavaScript. Bad.
- Have a
noscriptfallback - Often, in this case, the web site’s functionality is still dependant on JavaScript, but includes a
noscripttag with a text explaining for those who don’t have JavaScript that they can’t use it. Better. - Not JavaScript dependant and no
noscripttag - This is the ultimate scenario. JavaScript is used to progressively enchance the functionality of the web site, but all the main functionality will work without it. When it comes to the
noscripttag, it’s redundant. Instead, include the necessary elements or warning texts in the code that’s initially loaded, and then use JavaScript to hide them. Best!
So, no noscript, m’kay?
Related reading


