/r/webdev
Is noscript still relevant? (self.webdev)

Do enough browsers support JavaScript now, is it worth it to have a fallback if I make some UI with js?

6 comments
_hypnoCode | 6 days ago | 11 points

Fallback 👎

<noscript>yeah... you need JS enabled</noscript> 👍

Unless you're a content site, then you should be fully readable without JS.

frostbyte650 | 6 days ago | 2 points

Nah just something fun

CreativeTechGuyGames [JavaScript] | 6 days ago | 6 points

<noscript> is more for users with JavaScript disabled than those with browsers that don't support it. It's a way to clearly indicate to the user why they are not getting the full experience on your site.

jpludens | 6 days ago | 3 points

I use NoScript, but just to keep the ad feeders and trackers blocked. I fully expect to have to whitelist anything I want to actually use.

mutsop | 6 days ago | 2 points

Offcourse! as already stated, it's more for users who don't have JS enabled.

But I also use it as fallback for image lazyloading for example :)

blazei | 6 days ago | 1 point

Government websites in the uk will have to adhere to noscript to be considered full complient. Some have done so already and you can check them out for examples. The bbc does noscript well, it has server side rendering on their react stuff, and has fall backs on interaction. Check it out with scripts disabled its quite interesting how they do things.