polar icon indicating copy to clipboard operation
polar copied to clipboard

404 page requires JS

Open zegl opened this issue 1 year ago • 7 comments

I think it would be a good idea to at a minimum render something on 404 pages if JS is disabled.

zegl avatar Jan 09 '24 10:01 zegl

I think it would be a good idea to slap a

appills avatar Jan 09 '24 15:01 appills

I think it would be a good idea to slap a tag on every page if javascript is disabled

Most pages work decently without JS, I would want the 404 state to render without JS too.

zegl avatar Jan 09 '24 18:01 zegl

Is anybody working on this issue? I would like to work on it.

sourabpramanik avatar Jan 09 '24 18:01 sourabpramanik

@sourabpramanik Not that I’m aware of. Please do, PRs welcome!

zegl avatar Jan 09 '24 21:01 zegl

Alright thanks 👍

sourabpramanik avatar Jan 10 '24 08:01 sourabpramanik

Hi, should we go for plain 404 page for all. or should we check if the browser supports JS. I think we can use noscript tag.

webbdays avatar Mar 07 '24 15:03 webbdays

FWIW, it seems that even the default 404 page does not work without JS. Next.js seems to always pick it up to inject its scripts.

frankie567 avatar Apr 05 '24 09:04 frankie567