Live data from Hacker News

Web Apps on macOS Sonoma 14 Beta

blog.tomayac.com

131–139 of 139 posts

Re: Web Apps on macOS Sonoma 14 Beta

#131

Can Web Apps use tabs? As in, if I command click a link, will it open in a native tab in the Web App? If they can't, then a bunch of apps I want to use as web apps will have to stay within the main browser unfortunately.

Having the choice is great. I sometimes open a Google Spreadsheet as an app so that any links I click in the spreadsheet will open in my browser and not steal focus from the spreadsheet.

Re: Web Apps on macOS Sonoma 14 Beta

#132
"When a user adds a website to their Dock, Safari will copy the website's cookies to the web app. That way, if someone is logged into their account in Safari, they will remain logged in within the web app. This will only work if the authentication state is stored within cookies. Safari does not copy over any other kind of local storage. After a user adds a web app to the Dock, no other website data is shared, which is great for privacy."

What is the additional privacy risk from IndexedDB and localstorage?

I would have thought apps that store everything locally, that don't require any backend at all are great for privacy, but what do I know, I don't have billions to spend on privacy branding.

Re: Web Apps on macOS Sonoma 14 Beta

#133
post #30

Earlier quoted context omitted.

> We don't need any more unsolicited banners or prompts. If you open https://squoosh.app on a phone (or in browser dev tools emulating a phone), you will see what I think is a great example of use of an install prompt that I personally would be totally ok with. screenshot – https://i.imgur.com/NALZpz8.png

> on a phone (or in browser dev tools emulating a phone) or on any browser supporting Web Apps (like recent versions of Chrome/Chromium)

I actually tried it in Chrome on MacOS before writing my comment, and did not see the Install button, but only the tiny install hint in the url bar. That surprised me, because I clearly remembered the button; which is why I thought that maybe the button only appears on mobile browsers where it's harder to find the install option in browser's own ui. But now when I open it again in desktop Chrome, there it is, the Install button. Strange.

Re: Web Apps on macOS Sonoma 14 Beta

#134
post #125

Earlier quoted context omitted.

here here. please excuse me while i adjust my suspenders and twist my beard as i yell get off my lawn. when i reference things from the 90s, it is far from my being stuck there. it is because i have the living memory of the pain from that time, and can see it being repeated by the people that have no living memory of that time. i lived that pain once, i don't need to relive it because someone else hasn't and is too s…

At least we weren't shipping browsers alongside the content.

No, we were just mailing CDs and floppy disks with ISP software. At least the shipped browser isn't clogging the landfills =)

Re: Web Apps on macOS Sonoma 14 Beta

#135
post #49

> Let web apps programmatically trigger the Add to Dock flow, since the Share icon and the File menu install ways are hard to discover. Please, for the sake of all decency, no! We do NOT need new ways for web sites to badger users. (Sorry to focus on this one thing. This was a great and informative article, with 99% good ideas. I just had a visceral reaction to the idea of yet more ways for sites to harass me as a us…

It wouldn't be a "new" way to badger users, because developers can currently badger users to install a native app. A Smart App Banner for installable web apps would be no worse than what Apple currently offers, a Smart App Banner exclusively for native apps, and I think those banners are just fine.

https://developer.apple.com/documentation/webkit/promoting_a...

> Smart App Banners vastly improve users’ browsing experience compared to other promotional methods. In iOS, Smart App Banners provide a consistent look and feel that users come to recognize. They trust that tapping the banner will take them to the App Store and not a third-party advertisement. They appreciate unobtrusive banners at the top of a webpage, instead of a full screen that interrupts their experience with the web content. And with a large and prominent Close button, a banner is easy to dismiss. When the user returns to the webpage, the banner doesn’t reappear.

Note that "Add to Dock" installable web apps already do have a Smart App Banner on the new macOS 14 Sonoma, but only when you already have the web app installed. (It's exactly like the Smart App Banner for native apps, but, for web apps, it only works with the "Open" button, not with the "Install" button.)

Re: Web Apps on macOS Sonoma 14 Beta

#136
I probably wouldn't use something like this without extensions support. I can't imagine browsing the web these days without an adblocker. Otherwise, this seems pretty neat.

I think I'll stick with my current approach unless they decide to enable extension support.

Re: Web Apps on macOS Sonoma 14 Beta

#137
post #121

The slow death of Electron & Co? Electron apps like Discord, Slack, etc. don't seem to gain any benefit from being wrapped in Electron anymore. Have one codebase, one app, that works everywhere and can now even be "installed" with Safari.

I mean Discord, and Slack still need to run on non-Apple devices.

Chrome supports "installing" apps for a long time. Apple is the blocker for true web apps with the year long lack of notifications for example.

Re: Web Apps on macOS Sonoma 14 Beta

#138
post #78

Earlier quoted context omitted.

I mean, wouldn't the ChromeOS way be to just... use Chrome itself without also running server-side JS underneath it? Arguably this is the opposite -- Google goes in hard on the idea of expanding the Web's capabilities, after all, where a lot of the Apple camp has historically preferred keeping certain system-level stuff like hardware access away from browsers. Shipping Node underneath seems to skew more toward the la…

In a couple of years one can scrape Web Developer designation on job advertising, replacing it by ChromeOS Developer instead. And they used to complain about IE hegemony, what goes around comes around.

I don't know if you noticed but this is literally a thread about installable web apps on a browser that isn't Chrome (or derived from Chrome) on an OS that isn't developed by Google.
Post reply on HN