Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

101–110 of 311 posts

Re: New WebKit features in Safari 15.4

#101
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 don't use it just for my users, I use it for my sites which are extremely image heavy and I don't want to load dozens of images that the user might never scroll to.

Re: New WebKit features in Safari 15.4

#102
post #34

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.

I was following this and it did seem to appear in the beta -- I'm not sure whether it has been removed in the GA version listed here, or if they simply haven't mentioned it since it's perhaps a browser rather than WebKit feature? ... I assume WebKit has had support for this for a long time, since Safari on macOS has long supported push notifications. https://firt.dev/ios-15.4b

> since Safari on macOS has long supported push notifications.

Safari on macOS does not support the web Push API[1]. Apple has a proprietary Safari Push Notification service that requires all notifications to go through Apple's servers first[2].

[1] https://caniuse.com/push-api

[2] https://developer.apple.com/notifications/safari-push-notifi...

Re: New WebKit features in Safari 15.4

#103

> 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…

I think this means SharedWorkers are not too far behind. Pretty sure I saw a issue tracker indicating maybe SharedWorkers had been restored in a nightly build?

Re: New WebKit features in Safari 15.4

#106

Earlier quoted context omitted.

Unless you’re Chrome, in which case it’s really great. /s

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.

Re: New WebKit features in Safari 15.4

#107
post #42

Earlier quoted context omitted.

This is one of the main reasons we built Orion browser. Native app, with the same rendering engine and with native extensions support. https://browser.kagi.com

Any invites that you could share without having to wait 3 weeks for the next round to go out?

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

Re: New WebKit features in Safari 15.4

#108
post #107
post #42

Earlier quoted context omitted.

Any invites that you could share without having to wait 3 weeks for the next round to go out?

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?

Re: New WebKit features in Safari 15.4

#110

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.

As the person working on PWA stuff on Discourse I can assure we will be adding push support in iOS as soon as it's ready. It's a shame this is taking so long on iOS devices...
Post reply on HN