114 points · by monkin · 4y ago · 154 comments
> "look for Web Push for iOS and iPadOS in 2023."
…OK, that’s too dismissive. I do know that certain web apps and sites have legitimate uses for push notifications.
But I encounter these far, far more often on news sites, where I profoundly do not want notifications, ever.
Probably too convoluted of a “power user” setting for Apple to consider, but I would rather have a very strict opt-in whitelist where I proactively enter sites where I actually do want notifications.
That being said, I definitely hope it's off by default
(Although to be honest, apart from push notifications, which are still vapourware right now, we've been able to replace almost everything native apps do with web apps for a while now. I'll be super curious to see how stuff like Rust and WASM go using some of these newly announced features...)
I'd rather go to the website, enable notifications, and never install any app.
Isn't this how it works in Firefox/Chrome right now? I routinely get prompts from websites asking for push notification permission, which I always deny. Can't imagine Safari not doing the same thing.
I believe Firefox doesn't show the prompt at the top at all anymore nowadays and just has a glowing notification bubble in the address bar, but it's been a while.
Anyway, I look forward to every shitty site asking for permission to send notifications adding to the trillions of requests a year...
The whole thing's a mis-feature. If it must exist at all, sites shouldn't be able to prompt for it, but simply advertise the functionality and let browsers add a little button or something for the user to actively engage with if they want to see a permissions prompt. Like the way browsers used to handle sites that advertised RSS feeds.
Meh, you'll just get full screen modals begging you to push the button. So long as a feature which (ostensibly) drives engagement exists, every ad based website is going to do whatever they can to get you to use it.
There are some really good use cases for it, but I think the balance is tipped by the far too many bad (for the user) use cases.
Looks like there will be some interaction required to prompt it.
That being said, hoping there's a browser-level option to just turn it off.
There's a flag in Chrome. It seems to have landed in early December. https://chromestatus.com/feature/6525308435955712
* controllable PWA install prompt
* Keep GPS working after screen lock or app change and then return
* Wake lock
The PWA install rate on iOS is abysmal for this reason.
On a personal level I'd rather not have any more banners on top of half a dozen or so that already plague a typical website.
No website should have that level of access to my device.
Sites already do "wake lock" by playing videos they you can't see. How many times have you tried to read a recipe and your phone shuts off while your hands are covered in flour, or you need to keep tapping your iPad screen while watching sports scores or election results?
These are both incredibly useful APIs that you probably would enjoy if you didn't dismiss them outright.
Videos on iOS are forced to play full-screen. Background, autoplay videos, do not trigger wake lock.
These are features which, while I'm sure some applications would find useful, would more often be abused than useful.
I’m so confused why Safari Tech Preview exists. It’s seems like features in Preview rarely graduate to mainline Safari - yet mainline Safari will get features that were never tested in Preview.
Safari messes up rendering engine all the time and creates bugs in many websites.
Usually fixes are fast, but it will take ages to get the fix to iOS update.
Fun fact: even with the latest release of Chrome, Safari is surpassing Chrome in Interop 2022[0]
Say what you will about Apple, but I think the team behind Safari has been doing some fantastic work to make up for its reputation
Your particular case might have worked out better, but in general being able to test on an OS version and not have that change out from under you is really helpful.
The flag for web push has been available, albeit non functional since 15.3.
Apple needs to hurry and simply allow for alternative app stores as well.
Web push whilst great for developers and some use cases has also meant dealing with spam and user hostile behaviour. I have 50+ websites that I have to block from sending me web push notifications. It's yet another thing making the web less enjoyable.
Likewise alternative app stores mean that I will inevitably have dozens of companies to deal with for refunds, subscription cancellations etc. And many of them will be driven by the need to make money from the store and not the interests of end users.
Plus, web notifications means I can scrap all of those "send notifications through me" apps you'd use for scripts, which all ended up costing subscription fees.
I only ever see it on tabloid websites that I accidentally mis-click on or the occasional marketing page.
Because there's always a limitation. For instance, if I want to go to most websites with Javascript off, they just don't work. That's a limitation. Limiting my tech keeps bad actors from abusing it. Frankly, every feature has good and bad uses, and sometimes the bad outweighs the good. For instance, I have no real good use case for a website accessing my location, camera, motion sensors, etc.
Could some apps be developed and served via PWA this way? Sure. But is it far more likely to be used for ad-tech? Also sure.
And I say this as someone who made a PWA and cannot deploy it to my own phone because it needs features that aren't supported. A small price to help wall off bad actors. Even though my PWA is only deployed to machines I control and I am not a bad actor to myself.
Only major browser not to support it. If they enable it and put hooks for BLE event callbacks, we would no longer need a custom app per-device.
Also, if BLE support was there, you could provision your WiFi-connected device without having to go do the whole AP-mode dance: push button on device, toggle WiFi on your phone, set it up on WiFi, etc. It's a big usability blocker for consumer devices. That whole sequence could be automated by visiting a URL on your phone or desktop.
They've announced they won't support it, ostensibly because of fingerprinting and privacy concerns. But that could be tackled the same way they've blocked all the other fingerprinting methods (fuzzing, threat of blocking, etc.)
Also: WebXR please.
I’m so tired of Google inventing arbitrary stuff for the web, implementing it, and everyone then expecting Mozilla and Apple to just follow suit.
I agree, the situation is awful.
It'd be so nice to have a more diverse & robust community of web browsers. The jury pool for "voting" on stnadards is way too small. I'd also point out that Microsoft is still very much here. They may be using Chrome's engine, but they're under no obligation to enable all the features, to stick exactly to what Google is doing. If Edge agrees, it's at least somewhat of a vote.
Right now, either Apple & Mozilla have effective veto power on the web. Mozilla is deeply understaffed & barely if at all able to keep up with development. They thankfully started answering request-for-positions a bit back, but I see a lot of specs now-a-days with no response.
There's so much web-hating about that things are really tough. There's so many people for whom the web is joy & amazingness, & this feels like a hard condescension to face. Push back feels like broad push back against doing good things, feels like a desire to keep what feels great to us from growing. Tools like VSCode are superpowered badasses, fast & capable with great easy-to-write extensions; true blood of the web. But we can't escape Slack being a dog, and people's long & deep feelings of dislike.
Apple has long (well over a decade) been the foot dragging, complaining, miserable laggard, with lots of their own ideas & little willingness to play with others. They invested so little into their webtech for decades, just absolutely miniscule, and the teams had heavy bias, strong ways of thinking they wouldn't bend on. Mozilla recently seems to have switched sides: having given up on WebOS & an rich web platform, they now seem to spend more time claiming to be "pro-privacy" & fighting against really good new capabilities (eg WebMIDI) than working things forwards. Apple and Mozilla both know Google is widely reviled & mistrusted, and are marketing the shit out of their anti-web-platform stances; 'any risk to users is too great!'.
Thankfully we see a ton of really really good work happening on https://wicg.io. It's a good neutral territory to make the platform better. Tons of the web improvements happening are vendor-neutral, are just people with good ideas, that eventually, with support & community, stand a chance of getting sensible improvements implemented in 1 or 2, very occasionally 3 browsers. Alas, there's Apple. :'(
Anyhow, yes.
I switched to Sublime text just because it is not fast and eats lots of RAM for no good reason.
The reason browsers implement convoluted AI-based systems for things like rejecting cookies is that browser makers can't risk the regulatory fallout of blocking without a consistently enforced and static business policy.
Not implementing a feature at all is a great way to avoid getting in a conflict, such as a lawsuit in some international jurisdiction over whether blocking a particular use of bluetooth is anticompetitive.
Thats ignoring that some of the most harmful forms abuse come from those who are willing to register hundreds of throwaway domains to avoid static block lists. Block lists are based on location and not on legal entity.
Visit https://dl8.webmfiles.org/big-buck-bunny_trailer.webm for example and it will just play.
From: https://www.webmfiles.org/demo-files/ (where its embedded with a JavaScript player)
Also see: https://caniuse.com/?search=webm
It is not javascript player. It is plain old html video tag.
Literally only for porn—I doubt I'd ever have noticed the feature was missing, otherwise—but still.
SharedWorkers shipping Chrome 4 in January 2010[1]!! Firefox eventually shipped in 2014 (Firefox 29).
> ...in Safari
Haha yeah. Maybe re-do your marketing on this one.
It took Apple well over a decade to support a basic, essential function required for webapps to be able to have elementary cross-tab capabilities. Apple kept the web down on this one, super super hard. Absolutely brutal punching down. They mercilessly said they would not do it, that it was not going to happen. And that kept the whole web down. iOS said no. The titan has spoken.
This is a magnitudes more important improvement and pushing the web forward than pretending that whateverworkers are a thing that is usable beyond very few convoluted examples (even if those examples end up running in production somewhere)
I don't think zero-sum adversarial X vs Y thinking is helpful. Both of these have value. As a developer, it sounds like accessibility already worked, and that the benefit to the accessibilities-using features is speed, which is good, but likely not groundbreaking. But I also would like some of the many features of the web to be unlocked by this slow-to-implement browser, and SharedWorkers is over a decade old & sits in an important & unique spot. Trying to play favorites isn't in my interest, but recognizing the values of each I think is informative.
> pretending that whateverworkers are a thing that is usable beyond very few convoluted examples
If you don't even know what the thing is you probably aren't qualified to judge. You don't seem to be interested in learning or informing; you seem to be trying to score points, & doing so by mockery & cruelty. I hope we can find better manners, more appropriate for good, learned, engaged Hackers, than this.
At a previous WWDC they talked about service workers and how they have the potential to significantly impact the performance and battery life of devices if abused.
And so a lot of effort has been made trying to isolate and optimise them.
There's definitely good people working to advance the web at Apple. That's clear. Apple's even hired up some. But there's still endless struggles, endless conflicts, huge huge parts of the map Apple insists are bad for users that they will not do. Like SharedWorkers, which until recently they insisted they would not do & were bad for users.
Simply not true.
Simply get out of here. Clipping my argument down to fit a contrite cheezy meanspirited vacuous soundbite rebuttal is gross & lacks respect. My statement is absolutely true. Go spread empty misleading hate somewhere else.
I'm sure i've stored more than 50mb in idb before...
For a while the web view they were making apps use was lagging way way behind Safari itself- was just dog slow & utterly unaccelerated[1], but they finally at least ship moderately capable webviews in iOS now. That was a solid half decade of brutal tyranny- anything trying to use the web platform at all had a terrible time, & alternative browsers were a sick laggy disgusting joke.
This is one of the biggest sorest points about Apple's complete dominion over iOS & their rule by app store (for many): this titan don't even allow healthy competition on the web. They hold the whole web back. Safari would feel like far less of a villianous poison if Apple didn't rule iOS with a bloody iron fist.
[1] http://9to5mac.com/2014/06/03/ios-8-webkit-changes-finally-a... https://news.ycombinator.com/item?id=7843943 (12 points, 8 years ago, 1 comments)
Really doesn't help that they've pull so far back from open standards. They used to champion OpenGL, OpenCL, and open web standards, now they are working like Balmer's Microsoft. Everything internal and they sabotage open standards. Either by not implementing them, or obstructing all evolution at the standards committees.
People forget that Microsoft disbanded the IE dev team from 2001 for at least 5 years - IE6 remained unchanged from 2001 to 2006 and received absolutely no feature updates, HTML rendering or JavaScript engine changes during that time (though there were security patches). The next version of IE wasn't until IE7 was released to coincide with Windows Vista in early 2007.
5 years between major versions! No browser since then, developed by Google or Apple (and even now, Microsoft) has had a gap that long without feature updates.
Evidence ? Pretty extraordinary claim to make.