The website for an Indian restaurant I'm visiting later (https://lastdaysoftheraj.com/), open in Brave on Android. The screen is completely blank; and Brave has detected that, while the site itself is being delivered kver HTTPS, external content is being delivered unencrypted.
you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (1 child)

You can't modify the DOM.

But some most dynamicity can stay - sites can be built freely server-side, and even some "dynamic" functionality like menus can be made using css pseudoclasses.

Sure, you won't have a Google Docs or Gmail webapp, but 90% of stuff doesn't actually need one.

A basic website doesn't require js.

A webshop, for example, does for the part around adding to cart and checkout - but it doesn't for merely browsing.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    For a web store you probably only need Javascript for payment processing. Insofar as I've seen pretty much all of the widgets provided by the card processors outright require Javascript (and most of them are also exceedingly janky, regardless of what they look like on the outside to the user).

    You definitely don't need Javascript just for a shopping cart, though. That can all be done server side.

  • source
  • parent