News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by authed on Thursday December 23, 2021 @11:17PM (#29670127)
nice. most sites that use javascript don't need to... https://i.imgur.com/qaJYWit.png
Re:Entire website in a single HTML file by a_t48 on Thursday December 23, 2021 @11:41PM (#29670288)
I’m not sure that Google Maps is the best example of something that should work well without JS.
Re:Entire website in a single HTML file by authed on Friday December 24, 2021 @08:35AM (#29673431)
True, but even Google Maps could work without Javascript... It may not be as easy to use without it though.
Re:Entire website in a single HTML file by pge on Friday December 24, 2021 @10:20AM (#29674269)
I still remember the first time I used google maps. It was the first example I ever saw of what was then called AJAX, and it blew my mind. Without javascript, google maps would have been the same as mapquest (or any other mapping sites from that era): a full page refresh to move or zoom on the map. Javascript was the differentiator that made google maps the winner.
Re:Entire website in a single HTML file by authed on Friday December 24, 2021 @02:56PM (#29677152)
I'm not saying the experience is as good, but sometimes you need or want to browse without Javascript (at least some people).