My gripe with them switching to SPA (or whatever they changed in the last few weeks/months) is that viewing files got really jarring and I always switch to the raw view. Searching through a file is really bad with their lazy loading and scrolling horizontally on Firefox on Android is near impossible. And sometimes hitting the browser back button won't switch the page.
Tell HN: GitHub no longer readable without JavaScript
61–70 of 79 posts
Re: Tell HN: GitHub no longer readable without JavaScript
#62
{"props":{"initialPayload":{"Re: Tell HN: GitHub no longer readable without JavaScript
#63Re: Tell HN: GitHub no longer readable without JavaScript
#64Honest question and no pun intended: I don't understand people's desire to prevent JavaScript from being a language that runs in the browser. Could someone shed some light on this?
It's usually better to avoid it unless necessary, but many web developers overengineer their pages with JavaScript to the point where it's a problem.
At their core, web pages are documents not apps.
Re: Tell HN: GitHub no longer readable without JavaScript
#65Honest question and no pun intended: I don't understand people's desire to prevent JavaScript from being a language that runs in the browser. Could someone shed some light on this?
I can do that via more complicated emacs web browsers that essentially render chrome in a buffer. But I shouldn't have to for things that are only text in the first place.
Re: Tell HN: GitHub no longer readable without JavaScript
#66It worked pretty well until a week or so ago.
Glad to see the sentiment is widely held...
Re: Tell HN: GitHub no longer readable without JavaScript
#67At the end of the day GitHub is a web app. I don’t think it’s worth complaining about unless it’s something like Wikipedia that stops working.
For sure as of today GitHub is a web app, but it's questionable whether it should forces you to use it as one. In essence, GitHub is just a remote server for a .git folder. This does not need any JS. I see that GitHub now tries to become at the same time a social media for hacker-friendly people and some sort of super-CI server with automation. For sure these are good features. However I also see why people are sad t…
For sure there is a discussion to be had about whether the addons that GitHub provides over and above being a server for a .git directory need JavaScript, but that feels like a different discussion than “it’s just a server for .git directories”
Re: Tell HN: GitHub no longer readable without JavaScript
#68Re: Tell HN: GitHub no longer readable without JavaScript
#69Honest question and no pun intended: I don't understand people's desire to prevent JavaScript from being a language that runs in the browser. Could someone shed some light on this?
Re: Tell HN: GitHub no longer readable without JavaScript
#70Honest question and no pun intended: I don't understand people's desire to prevent JavaScript from being a language that runs in the browser. Could someone shed some light on this?
• It’s just not necessary. The Web is, at its heart, about resources and actions on them. Those resources are mostly documents. There is just no need to execute a Turing-complete programming language in order to display a list of links to files (which is what GitHub is).
• It hinders use of lightweight browsers. There is no good reason that I should be forced to fire up a VM like Firefox or Chrome when I could use eww, w3m or elinks.
• It is insecure. Javascript enables insecure exploits. Large browsers such as Firefox and Chrome have a much larger surface area than small HTML viewers such as eww, w3m or elinks.
• It hinders privacy. Javascript and large browsers enable much more persistent user tracking than lightweight browsers such as eww, w3m or elinks.
For me, the first reason is the strongest: I think that those who push Javascript fundamentally misunderstand the Web. I am grudgingly fine with using it to provide functionality which would be impossible without it, but I also think that experiments such as htmx show a way forward to put more behaviour into the browser itself. Browser apps are certainly neat! But the Web is ultimately about linked documents. It is built on the Hyper Text Transfer Protocol and the Hyper Text Markup Language, not the Network App Protocol and the Network App Programming Paradigm for Inexperienced Engineering Students (although I do sometimes think Javascript proponents just need a nap and to have their nappies changed grin).