Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

111–120 of 311 posts

Re: New WebKit features in Safari 15.4

#111
post #108
post #107

Earlier quoted context omitted.

You can use mine, but it may only work for mobile. https://testflight.apple.com/join/DeC8ZDnu

How were you able to share this? Didn’t know TestFlight allowed you to do that. How do I give it back later?

It’s within the testflight app, there’s a share button and you can copy the link. Borrow was an incorrect term, the link is still valid for anyone afaik.

Re: New WebKit features in Safari 15.4

#112

Until Apple fixes the mess they made with ad-blocking and allows full-fat ublock origin to work on Safari again, it could be 100x better than any other browser and it would still be worthless compared to Firefox. Shame, because I really do like Safari.

Does full-fat ublock origin work without leaking the sites you are browsing to its developers?

Re: New WebKit features in Safari 15.4

#113

> New support for BroadcastChannel allows tabs, windows, iframes, and Workers from an origin to send messages to each other. This enables experiences like syncing login state for a site across multiple tabs. This is SUPER nice... there are other hacks like IndexedDB or localStorage but this is way better! But the frustrating part her is that we're excited about Webkit finally starting to catch up. Chrome is just perp…

Safari is ahead in implementing things like :has() and the new Viewport Units.

Re: New WebKit features in Safari 15.4

#114

Earlier quoted context omitted.

I want it so I can uninstall Facebook Messager. On Android I can log into Facebook's website, and receive push notifications via the web-browser. On iOS my choices are either the native iOS app (which has substantially more data hooks) or nothing at all. Essentially browser Push Notifications increase my privacy. PS - I am sympathetic to complaints about push notification request spam, but that feels like a solvable…

Apple likes to trot out Facebook as a privacy boogeyman when it comes to defending their App Store business model, but when their business model necessitates that Facebook has invasive native apps, suddenly they're silent. PWAs would increase security all around compared to native apps, but that might cut into App Store revenue.

> Apple likes to trot out Facebook as a privacy boogeyman when it comes to defending their App Store business model, but when their business model necessitates that Facebook has invasive native apps, suddenly they're silent.

Are you joking? https://www.macrumors.com/2022/02/03/facebook-10-billion-in-...

Re: New WebKit features in Safari 15.4

#115
post #65

Earlier quoted context omitted.

That would annoy me, too. Maybe they could have it only work for when you Add to Homescreen as a progressive web app, then it would be more opt-in.

This is actually the perfect compromise that I haven’t even thought of until you’ve mentioned it. Up until now, I was opposed to webkit push notifications for the same reason as the grandparent comment. Thank you for your comment.

Unfortunately Apple has crippled PWAs compared to the exact same code running in the browser on multiple occasions. Up until just about a year and a half or so ago you couldn't access a WebRTC stream from a PWA. The main use-case I needed this for was for a barcode scanner (which uses WebRTC under the hood) so my options were "deal with browser chrome" or "repackage into an app", I ended up doing the second (and to be fair that was my ultimate goal) but I would have preferred to skip dealing with that until later (prototyping is still faster on web for me, even with live dev builds on mobile).

Re: New WebKit features in Safari 15.4

#116
post #54

Edit: removing the snark/sarcasm I put into it. I was really hoping this announcement would include support for push notifications for PWAs. I've been trying to build a few Discourse forums and they work very well as PWAs except for the fact that iOS doesn't support PWAs sending push notifications. So here's to hoping the next iteration will.

Personally I really hope they don't add this. Imagine how annoying to have to decline a "please turn on notifications" on every news site on your phone (which you're spammed with on desktop).

It’s available on desktop and not that annoying.

They could use their differential privacy to only allow for sites that have a reasonable opt in rate, and global opt out.

Re: New WebKit features in Safari 15.4

#117
post #57

> WebKit added support for lazy-loading images with the loading attribute on the element, providing web developers with an easy way to instruct the browser to defer loading certain images until the user scrolls near them Maybe there's hope that I can then just turn this off on a browser level? I've got gigabit internet at home, and your images popping in on scroll makes it feel like I'm on dial up. Lazy loading image…

> I've got gigabit internet at home [...] Lazy loading images is at best user hostile bandwidth saving

You might want to consider how lucky you are for a second.

Re: New WebKit features in Safari 15.4

#118
post #92

Earlier quoted context omitted.

I want it so I can uninstall Facebook Messager. On Android I can log into Facebook's website, and receive push notifications via the web-browser. On iOS my choices are either the native iOS app (which has substantially more data hooks) or nothing at all. Essentially browser Push Notifications increase my privacy. PS - I am sympathetic to complaints about push notification request spam, but that feels like a solvable…

How do you use messenger like this? When I go to messenger.com a get pretty much just button with link play store...

Just log into Facebook.com in Chrome, enable Push Notifications, and then press new message notifications to re-launch Facebook.com.

Re: New WebKit features in Safari 15.4

#119

Earlier quoted context omitted.

So true. When Chrome is first with a new CSS feature, it’s the greatest thing since sliced bread. When Apple does it, it’s looked at with derision.

> When Apple does it, it’s looked at with derision. By...who? There's 100 comments in this thread right now and not one is criticizing the new features.

https://news.ycombinator.com/item?id=30679187

Re: New WebKit features in Safari 15.4

#120
post #54

Earlier quoted context omitted.

Personally I really hope they don't add this. Imagine how annoying to have to decline a "please turn on notifications" on every news site on your phone (which you're spammed with on desktop).

It’s available on desktop and not that annoying. They could use their differential privacy to only allow for sites that have a reasonable opt in rate, and global opt out.

> It’s available on desktop and not that annoying.

It’s pretty annoying.

- the dialog is model

- it’s small, and drops down from the top (a “reverse toast”?)

- I frequently use screen zoom So am typically unable to see the top of any window because I’m reading content

- I click a link, the page loads, the “toast” drops down but I don’t see it, suddenly nothing on the page works

For 99% of sites which ask for permission the answer is “no”. So that’s a lot of annoying web sites.

Post reply on HN