Push notifications are now supported cross-browser
web.dev
web.dev
Sure, they have their uses… but web sites will send far more notifications than anyone wants to receive. People would enjoy a drinking fountain but get a fire hose.
I don’t even think about it. I just click “no” (and curse under my breath for even making me do that) and move on.
everyone is competing for your attention.
Allowing it on page load has totally soured users on what could be a really useful tool. Sometimes I absolutely would like to receive notifications from a service without having to install an entire native app for it. Unfortunately that’s counter to the way Apple have implemented web push, requiring a Home Screen install before you’re able to use it.
[0] What iOS calls a "progressive web app"
Apple is between a rock and a hard place with your request. What you want would require another way to delete a web app from your notification list. Right now they went with the simplest method: just use the way the native apps do it.
My impression is that Edge is just like iOS requiring you to "pin" a site somewhere (to bookmarks, to the start menu, to the desktop, to the taskbar, whatever) before prompting for notifications.
Uber Eats and Drizzly spam my notifications (I know Android has very detailed/overly complex IMO way of managing app notification channels) but because they are native apps we don't complain.
Yes. I’ll bet there are many well-behaved web apps, with well-considered notifications and concise and simple options so that users get everything they want and little they don’t.
They are downed out by the firehose too.
Not via a push notification, no.
How does that intersect with browser push notifications? Another advantage of email notifications is that the email notifications won't go away if I don't pay attention to them for a long while.
In any case, I don't use Windows except at work, where this wouldn't be an issue anyway.
There is far too much already that bings, bangs, jumps and try to get my attention.
If you're wondering why your only 2-year old Laptop is slowing down when you boot it up - this is why. Chances are that Edge, Firefox and/or Chrome all three decided that they should have the right to run a full instance of themselves when you boot up your PC because you enabled a notification for a site that doesn't ever send any to begin with.
Browsers are heavy things to boot up (not to mention that in potato RAM environments, they eat through RAM like there's no tomorrow). To be clear, browsers being heavy applications is fine, it's one application where people tolerate it because of how versatile the browser is, but it is extremely frustrating when it results in the computer taking 5 minutes to sign in, when all they needed to do was quickly revise a Word document.
The result is that people end up writing off perfectly serviceable laptops for something that is easily disabled in the task manager.
This sorta thing really should get a big warning popup that if you enable it, it probably will end up slowing down your PC. I can't exactly celebrate the fact that all three major browser engines now pester users into slowing down their PCs.
Otherwise, if your relatives/friends are complaining their laptop is slow (and you're the designated IT person), enjoy the free advice.
Don’t they already do that for automatic background updates anyway?
Chrome iirc has two update mechanisms, the first being Google Update which is a different application that isn't as resource heavy (and is also used to update applications like Google Earth) and the second being similar to the Firefox update mechanism, but it instead happens in the background while you're using the browser (with an orange exclamation mark when the update is ready to be installed to inform you that the browser needs to be restarted).
Safari updates always have been tied to updates to macOS/iOS, with all the benefits and issues that entails (no automatic updates whatsoever outside of OS updates).
So, if you are trying to join an interview or exam and your camera and/or mic aren't working, check if you happen to have a small orange excalamtion point somewhere in your Chrome UI, chances are that's the reason.
The only time my windows computer reboots is when the power goes out.
(Also, I highly recommend staying away from windows, Microsoft is getting incredibly intrusive. If my work didn't use windows exclusively, I'd be on linux)
Pluginitis sufferers, however, have very little insight into their condition and frequently react violently when you tell them that your browser starts in just a few seconds.
Back in 1999 my relatives were browsing the web over dialup with 640x480 screens and frequently had more than 50% of the vertical screen area consumer by window chrome, browser buttons, and toolbar after toolbar installed by multiple (now forgotten) web sites such as Yahoo, Lycos, Hotmail, AOL, CNET, etc…. Oddly none of these people saw anything wrong with this.
You absolutely can, there's ways for apps to launch without adding a dock icon or windows, this is typically done by menu bar apps, but can also be done by daemon-style services, or by apps meant to do global-style UIs (like a lot of the spotlight replacement apps)
Even still, there are quick and easy configuration files available online for software like i3 (https://github.com/minad/i3-config/blob/master/autostart) to make them compatible with normal Linux setups.
I don't know why Linux versions of browsers don't do this, but it certainly isn't a technical limitation.
Shh! Don't tell them! They might start doing it.
It's part of why laptops can't hold a charge anymore.
Not on Linux, which is what the parent poster is using. This "shut down means hibernate, you have to press restart to actually shut down" behavior is a Windows-only novelty.
For years, I've been using my laptops connected to external monitors and I/O devices with the lid closed. I've never had any of them get anywhere near hot enough to damage the screen.
I wouldn't be so quick to blame that on Linux as much as it seems there was a hardware fault in the laptop.
You're lucky. That's not my experience at all. I stopped using Firefox in part because it's the only browser that takes more than 2 minutes to start up on my Linux boxes.
It's true that I don't use SSDs. It's also true that no other app (including other browsers) takes such an absurdly long time to start up, so I don't think the lack of an SSD is the issue.
Or, if it is, that means there's a larger problem with Firefox. You shouldn't have to run special hardware to run a browser.
This isn't about me, this is about regular computer users, who make up by far the biggest crowd of people.
Pro:
- notifications without needing a account (and e.g. giving them your mail)
- notifications when you use a web app (e.g. mail), I just don't want to install a app for quite a bunch of things, best it also works in situations where you simply can't install an app (e.g. company computer)
- less persistent/annoying then mail notifcation (through depends a bit on your OS notification manager)
Cons:
- less reliable
- less persistent then mail notification
- some sites try to push them on users, but then it's a pretty good indicator for which site not to use
Os/User Specific:
- I have seen cases where Windows displayed them quite intrusive and it was non obvious where they where coming from making it hard to disable them for a non tech versatile user.
Especially when it came to web mail clients, web messenger clients and some simple entertainment sites they have shown quite useful to me while the sites I visit normally don't try to push them onto users in an annoying way.
the need for dedicated apps on your smart phone is now almost unnecessary at this point, unless you're doing something extremely niche. what a win.
The other death knell was Facebook getting on the phone train early, which meant that people moved to FB en-masse (which was already happening but got accelerated due to this.)
https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
Without this: you get a browser popup immediately on page load.
With this: you get a popup within the website, which will then trigger the browser popup if you miss the tiny (x).
As someone pointed out already, the only possible fix is for websites to somehow not know whether you've enabled them or not.
To solve abuse, the browser could pretend to comply by not returning error codes but doing nothing for the user.
However this would mean that websites with a legitimate use for the feature (say, an email client or whatever) would have degraded usability, kind of how Mac apps have to tell you to go to the system settings and allow them certain permissions.
If most other users find push messages from a site useful, then allow them. Otherwise, don't. Eg. Messages from ebay that say 'you won the auction, please pay now' might have the majority of users wanting.
Whereas messages from engadget letting you know that there are 112 new trending articles might see a far lower user interaction rate.
I would like the browser to have a setting "only allow push notifications from sites that the majority of other users interact with".
If you want such an experience, just deny notifications by default (it's a browser setting) and click the little icon in the address bar if you run into a site that you do want notifications from if ghee prompt doesn't show up.
Or even information that's not important, I guess.
If a website has an update, well, sure they can "push" it; but why don't they just push it to their production server? It's obviously driven by the demands of advertisers, and any site that succeeds in pushing notifications my way is a site I won't be visiting again.
Even on my phone I block 99% of them because it's all just noise.
I never treat text communications as real-time communications, and I'm not about to start now.
I'll never forget being awoken because someone felt the need to page the SysOp at 2 AM on the Compaq laptop running my BBS in my closet.
The problem with notifications is the hyper competitive attention market on the web, which pushes the websites "optimize" notifications for eyeballs instead of UX.
Web notifications are dead as the web itself. Thankfully, Apple sensibly implemented the notifications through requiring the website be added on home screen.
Let's see if we end up with websites forcing people save it to the homescreen to "read the rest of the article".
As long as the web "content" is a bait and the content is the adds there wouldn't anything new on the web. Wast majority of the mobile usage is on Android and we haven't seen the golden age of mobile web apps, I don't think it will change with Apple embracing the notifications.
Could be good for non-kosher apps but the problem with that is the centralised nature of push notifications delivery. So if they want your web app killed, they can just kill it by not providing you the service.
I'm aware of that. iOS is a proprietary OS and how it does things isn't all that relevant to me in this context. The web is a different matter and I've yet to see a use case of push notifications that served me. But I've seen 100's of websites that I have zero reason to see as useful applications trying to trick me into allowing them to use push notifications.
From an android POV, the benefit of this feature is that it allows you to install fully featured apps while keeping them in the web sandbox where you have fine-grained control over permissions.
FF does pretty much the same thing.
With phone apps I sort of get it: you are already installing something and clearly have a long-term relationship with the provider of such an app and the app likely has functionality that you need badly enough that having the app alert you makes sense.
But for me the web is 'transient', even as the maker of a SPA I wouldn't dream of bugging my users outside of their own decision to come back to the site. All this needy software is - to me - just a source of irritation.
Maybe the OS should run and maintain that for you. Just as gmail automatically sorts your emails into different categories (and spam), maybe so the OS or the browser should sort notifications.
That being said, it's been years since any apps have tried to push promotions onto me through notifications. I honestly don't know what app hellscape you and so many others online seem to live in; to me, notification ads have died a swift death somewhere around 2012.
No. I can check my email on my own time.
> Messaging apps?
Same. I can check my messages when I feel I have time to.
> Taxi apps notifying you when the taxi arrives?
Not really. Usually I can see when the taxi is arriving. (I almost never call a taxi anyways).
> Calendar?
Yes, that's the only case in my opinion when notifications are useful, otherwise I tend to forget meetings (not that all meetings are useful though).
You don't see any utility in getting alerted when you get a text message? Most messaging apps allow you to mute threads, so silencing an active group chat is easy, but you don't have anybody in your life you want to be able to get through to you ASAP?
> Usually I can see when the taxi is arriving. (I almost never call a taxi anyways).
Sure, if you're waiting out in front of the building for a short time. Sometimes ride-sharing / taxi apps have a long wait. Most people appreciate being able to wait indoors, instead of sitting on the stoop for 20 minutes waiting for your ride to come. This is possible because the app will notify you when your driver is getting close enough that you should go outside.
I've seen many apps on iOS that just feel… weird. Especially the scroll. It's my understanding that many such apps are just web views.
Anyone doing non-native apps on my phone will almost[0] never get money from me.
[0] There has to be the occasional exception, I suppose.
Also web apps are not censored by the app store guidelines.
This is well understood by the adtech industry and is why so many websites push apps in the first place.
Do you think an iPhone with the tracking blocker engaged is still a richer source of data than the web app on an iPhone? Facebook claims that Apple's privacy protections cost them $10 billion of revenue the first year.
When i close the webpage, that page is gone. It's not running in the background silently collecting data. With a properly configured browser (a few extensions, no third party cookies, or even separate containers), it doesn't have much data to gather in the first place.
Neither is any of the apps on custom F-Droid repos.
and before you whine about taxis, it only takes a half second to open the app. If you need a ding on your phone you should probably walk home.
I am a little (just a little) more tolerant on my phone.
An taxi app might be acceptable because it has real world usage, but I imagine it would be abused pretty heavily with "first mile is free if you take a taxi tonight".
Email and messaging apps should not notify me. I will open them if/when I have the time and batch process them.
My ability to concentrate is already under enough assult and doesn't need to be harmed further, and while I am in favour of each person doing what they want, from a societal point of view we need way fewer distractions, not more.
Facts! It always feels intrusive. I have them blocked by default on mobile and desktop. However, I also have all notifications on my phone disabled as well as permanent do not disturb mode.
Property should not make demands for attention.
Most of my phone notifications come in silently, and I won't tolerate spammy notifications, but I do want notifications for low priority/async operations so that I don't need to remember to check each app for anything actionable: the SRE book talks about "page", "ticket", and "log" messages; a noisy notification is a "page", a silent one is a "ticket", and if I want to see "log"-type messages then I can check the relevant app.
I got flak because it couldn't be run on iOS with notifications. But everyone is in front of a computer all the time anyway, so they just used a desktop browser.
So, does wthis mean we finally have the moment in time where PWAs start to be the best default choice instead of an appstore-app? I would appeciate that!
Too bad we're entering a time right now where the concept of "frontend engineering" evaporates in favor of Chat-UX :/
I guess for practical purposes this is correct, but they should at least say "all major browser engines". There are others...
I use a web API for my SMS gateway, and implemented push notifications via Firebase. It didn't matter whether I was using Fennec/Firefox, Chrome, or Vivaldi, I would always cease to be notified the moment the browser was killed off by my phone.
I eventually got sick of it and ported the logic over to call ntfy.sh instead. Not a single missed message since.
“send me Slack notifications if it seems urgent from my boss or team”
“send me email notifications if it’s from a top enterprise customer”
“send me Instagram DMs only if it’s from someone I’m interested in dating”
^ These are the kinds of notifications I would want to hit the push threshold but there’s no way to do that. Maybe a useful application of LLMs?
Work laptop also has email and Slack visuals, no sound.
And I use Focus/Sleep to eliminate all (except wife/kid/parents) notifications from 9pm to 7am.
Edit - I can think of only 2-3 apps that send push notifications and they're mostly fitness related. The notifications are generally of the type "your workout was synced" and the only reason I leave these up is I use 3-4 apps and when they don't sync, I want to manually force a re-sync. None send random "we've updated a thing!" messages (and if they did, I disable the notifications).
I absolutely do NOT want random, unscheduled notifications that aren't directly related to something I did/am doing.
Firstly, that's a guaranteed way for me to disable all notifications from the app, if not uninstall it. Secondly, how is that not a violation of some sort of Apple Developer Guideline? I wish they'd crack down on that sort of thing.
And simply revoking permissions isn’t a solution; the core problem is that the app would even try to abuse its privileges. Imagine being content with someone trying to come though your door just because you’ve turned the deadbolt. Their behavior is still unacceptable.
The "urgent" part of the first is obviously somewhat more complicated, but the "from my boss or team" is also just a contact group. I don't use Slack, so I am unfamiliar with its specific capabilities, but if it gave the ability to mark a message as "urgent", that could be transferred through to the notification, and allow additional filtering on it. Alternatively, I suspect that it already allows (for whatever the Slack equivalent of the "server owner" is) for the creation of arbitrary channels; if your team created an "urgent issues" channel, the channel information could easily be encoded into notification metadata to allow filtering on.
Focus modes in iOS are helpful but I just found there’s no time when I need everything vibrating to tell me random information that I could poll.
I use Discord extensively and exclusively within the browser, and I have push notifications disabled. I just keep it in a pinned tab, and whenever I have a notification it just puts a little red dot on the Discord tab's icon. I do aggressively mute channels and servers to keep it manageable, though.
Nope. I disable all notifications as well. The small handful of somewhat useful ones aren't worth the annoying and distracting cascade of completely worthless ones.
All have been abused by "marketing" to the point where they almost became or become useless. In some cases, workarounds were found so we can continue living our lives without spammers.
I suppose it's inevitable that push notifications are no different. But the argument is still unconvincing.
It's not inevitable that a tool with a glaring technical flaw must always have that technical flaw. Technical flaws can be fixed.
How hard is it to accept that for a lot of this stuff, there is literally nobody that wants to recieve it. It's fly-tipping your junk into millions of people's gardens in the hope that 0.001% of them see it and it reminds them of something they had meant to do already... The tech you are talking about almost certainly raises this to an amazing 0.0012%, by the looks of it it primarily does this by changing around the composition of the trash heap occasionally.
Until you invent telepathy, you will never be able to know who those vanishingly few people where recieving useless junk would remind them of something are
What a wonderful feature.
I'm gonna just quit and tell the boss to have GPT write the fuckin code for this. I'm sure that'll work.
Because watching streams live is better than watching a vod.
There are hundreds of service workers installed for me in Chrome (see: chrome://serviceworker-internals/)
I recall on iOS, Apple's infrastructure aggregates push notifications on the server-side, meaning an iPhone only has to maintain a connection to a single server for all push notifications.
Are there any similar initiatives for the Push API? Or is it simply not a priority, given the looser bandwidth/CPU constraints on desktop computers?
In the Safari case, this push service is essentially the same as is used for native apps, and it will do the same aggregation as you see for other notification types.
Now that they are standardized across all modern browsers, standards around their governance will follow.
chrome://settings/content/notifications
Like RSS READER.
> Safari for iOS and iPadOS supports push notifications as of version 16.4, but only for apps that were added to the Home Screen. Apple calls these Home Screen web apps
This should be a good enough way to prevent abuse
- ordering some food or pizza when you are just for short time in different city / country - I don't want to install some dedicated app that I won't use anymore in a week or two.
- renting e-scooter when on vacation - again each country usually has different such e-bike providers.
- local taxi app - uber / gojek /grab is not in every country
I loathe notifications and turn 99% of them off, but there are use cases for this and I'm glad that Apple has finally caved in to better support web apps and not only their walled garden.
On iOS it doesn't. Apps are heavily sandboxed and most interactions outside the app require explicit user permission.
I am glad the option exist and I am also happy I can choose to ignore that option for 99.99% of the websites I visit.
Bottom line: choice is good as long as it is opt-in and not opt-out.