News for hackers. Stuff that matters.
Re:Show HN: Capsule – Single-file web apps that save their d... by derpyzza on Tuesday September 15, 2026 @11:59AM (#49714559)
couldn't you just embed the js directly into the html file though? that would sidestep the CORS error. and since most of the people using a program like this are likely to be using AI to generate their ( likely throwaway ) applets anyway, readability and maintainability for the source doesn't matter as much as it would with human authors so having a separate js file doesn't bring that many advantages anyway.
Re:Show HN: Capsule – Single-file web apps that save their d... by fallinditch on Tuesday September 15, 2026 @01:12PM (#49715600)
Sharing HTML files with embedded Javascript is problematic: iOS users can't open the files directly, and have to save the file and then 'open with ... '.
Re:Show HN: Capsule – Single-file web apps that save their d... by krapp on Tuesday September 15, 2026 @08:25PM (#49720654)
Sounds like iOS is problematic.