News for hackers. Stuff that matters.
Re:Hiding elements that require JavaScript without JavaScript by 0xdade on Sunday April 06, 2025 @04:35PM (#43604756)
This is absolutely an option! It gets a little tricky to avoid shifting content around, since it's pretty typical to load styles in the head but load javascript either at the end of the DOM or with the defer tag, so the javascript would likely be running after the user has already seen the layout, and layout shifts could be clunky.

There are no comments on this comment yet.