News for hackers. Stuff that matters.
Re:Show HN: Defrag the Game by zamadatix on Monday September 02, 2024 @12:26PM (#41426742)
The File System API is a JavaScript API, not an HTML one, so it helps to think about it from that light (programs, not documents). The API allows tools such as photo editors, file converters, code editors, and the like to be given access to a set of files they can work on directly rather than needing to import and export from the browser on every change. If the attack surface is too much for a use case it can be globally denied by default in every major browser so you won't even get prompted.
Re:Show HN: Defrag the Game by HeatrayEnjoyer on Monday September 02, 2024 @01:25PM (#41427201)
JavaScript is just a feature accessory for HTML. There's no meaningful difference.
Re:Show HN: Defrag the Game by zamadatix on Monday September 02, 2024 @02:43PM (#41427823)
For whatever your preference in slicing that up is you can carry the "programs, not documents" reasons along.
Re:Show HN: Defrag the Game by HeatrayEnjoyer on Tuesday September 03, 2024 @08:35AM (#41434352)
Right, but programs are programs. Browsers are for webpages. If we want a program we run an .exe