Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

221–230 of 311 posts

Re: New WebKit features in Safari 15.4

#221
post #140

> added support for the element Might as well get started on those uBlock filters! dialog[class*="newsletter" i] dialog[id*="newsletter" i] dialog[class*="social" i] dialog[id*="social" i] dialog[id*="mailchimp" i]

how about just dialog*

Because you might just need that dialog to edit an entry in a table?

Re: New WebKit features in Safari 15.4

#222

> Developers can now enable Navigation Preload in ServiceWorker to improve load performance and avoid ServiceWorker startup delays that block network requests Does that mean finally works on Safari?

Navigation Preload is a different feature that is specific to Service Workers. `` has been supported in Safari for a while, since 11.x.

Re: New WebKit features in Safari 15.4

#223

> added support for the element Might as well get started on those uBlock filters! dialog[class*="newsletter" i] dialog[id*="newsletter" i] dialog[class*="social" i] dialog[id*="social" i] dialog[id*="mailchimp" i]

Every so often I daydream about a magical web browser with my preferred settings: [x] Block javascript popups and scrollovers [x] Block newsletter and notification solicitations [x] Really block all forms of auto-playing video in a way that actually works

A „JavaScript popup“ is indistinguishable from a div (or other block element) or its visibility being toggled.

Re: New WebKit features in Safari 15.4

#224

I'm happy to contribute two new features as part of my WebKit internship: the ic unit (as mentioned in the changelog), and CSS Motion Path, which I'm honestly surprised is not mentioned.

Awesome that you contributed to CSS Motion Path! Such a powerful feature :)

Re: New WebKit features in Safari 15.4

#225
post #151

Earlier quoted context omitted.

Legit the only reason I don't use iPhone is due to being forced to use Safari (or Safari rendering engine wrapped)

Safari on iPhone is by far the fastest mobile browsing experience you can get. Are there extensions or web features you need that Safari doesn’t have?

Personally I don't use Safari because among my Apple devices there is also a Windows desktop unit and I do enjoy myself browser sync across devices. So Firefox it is... Otherwise I would have switched to Safari when extensions finally became a thing.

Re: New WebKit features in Safari 15.4

#226
post #51

With so many new features being added to browsers lately it is easy to forget, that not all browsers on old devices are updated, be it older iPad or even laptop with ChromeOS. Dear web developers, please don't forget to add fallbacks or polyfills for older devices.

That's the risk you take by buying iPhone or ChromeOS: you're buying into a platform where you don't have the option to find alternatives for "core" system functionality. I care as much about outdated browsers as I care about Internet Explorer. If you want a modern experience, buy devices that allow you to update the browser (or complain to your manufacturer that you can't). Every other website has given up on my old…

> you're buying into a platform where you don't have the option to find alternatives

On ChromeOS devices you usually can install a regular linux distribution though.

Re: New WebKit features in Safari 15.4

#227
post #185

Earlier quoted context omitted.

I wish they'd add an option to disable webp, it's really annoying to save a photo and get it in a format that's supported almost nowhere.

It was just the other day I am thinking, may be all photos saved from the web should either be JPEG ( direct download from the page ) or it would be saved as lossless PNG. We now end up adding AVIF, WebP, possibly JPEGXL, the upcoming WebP2, and what else? I am not entirely sure more format is a good idea.

WebP is a bad idea, which is why they're updating it. We should all ignore it until it goes away.

Amusingly there's also a WebP lossless which is a completely different algorithm they just let a random employee invent.

Re: New WebKit features in Safari 15.4

#228

Aaaand they introduced WebGL bugs that broke our product, and iPhone users will experience these bugs until we can hack a workaround in, or until Apple acknowledges a bug report (that I have to make a minimal test case for and report, and haven't narrowed down yet), patches the issue in Safari, and decides if it's important enough to release as a 15.4.1 (which they probably won't, which means I'm stuck finding a work…

>or until Apple acknowledges a bug report a side question, how do you make a bug report on Safari? I've found FF and Chrome easy enough, but when I went to look for making one on Safari about a year ago I decided screw it, it seemed hard to find where to start (by googling at any rate)

https://bugs.webkit.org or https://developer.apple.com/bug-reporting/

Re: New WebKit features in Safari 15.4

#229
post #174

Earlier quoted context omitted.

Doesn’t supporting web push notifications involve having worker processes running in the background all the time to poll or keep a socket open for updates? I could see that dragging down battery life if one has notifications for more than just a small handful of PWAs enabled.

Native apps already do this...

Disagreed; they don't. They delegate messaging to the Apple Push Notification service which is a single process that maintains a persistent connection (and receives messages on behalf of apps). Apps only get woken up when a notification actually arrives.

Re: New WebKit features in Safari 15.4

#230
post #143

Is Apple going to do anything about Safari (on my 2021 16" M1 Pro) hitting 200 points in BrowserBench, while Chrome hits 299? Sure, Safari battery life is great, but the browser is slow, buggy (refreshes the page when I back a page half the time; can't speed up videos without audio distortion; typing into the search bar is laggy and I on a daily basis arrow down to select a previously used URL, hit enter, and then fi…

> typing into the search bar is laggy and I on a daily basis arrow down to select a previously used URL, hit enter, and then find that Safari moved my selection up or down

I had this. It went away when I stopped using the tab groups.

It's a shame because I _liked_ the tab groups, but I like not being annoyed by a stupid search bar bug more.

Post reply on HN