3 ms·
> If I was feeling paranoid and wanted to know if my files are being sent to some third destination I’d be able to open up dev tools to check. A lot more challe
by mike_hock 3y ago
> If I was feeling paranoid and wanted to know if my files are being sent to some third destination I’d be able to open up dev tools to check. A lot more challenging with a native app.
The reason we're generally "paranoid" about running arbitrary code in the browser is that every fucking website wants to run arbitrary code in the browser, not because an app that actually has a reason to do it, does.
A website should just be a document when it is just a document, which is 95%+ of the content linked on HN.
- z3t4 3y agoI think there should be three modes, one mode for documents and two modes for apps. Right now the document "mode" is too overpowered while the "app mode" is under-powered. If the user switches to "app mode" it should give the website access to the web API's, while in document mode it should only be possible to manipulate the DOM. The second app mode should make the app more "native" like and unlock more API's. Or we should just fork the browser into two programs, one for documents and one for app runtime.