News for hackers. Stuff that matters.
Re:Push notifications are now supported cross-browser by afavour on Tuesday March 28, 2023 @10:49AM (#35342020)
I’ve never understood why the push notification permission doesn’t require a click to activate. Many other intrusive things (e.g. playing a video) do. Google have even gone down a long winded path of disabling the prompt for sites that have low acceptances rates which seems like a very over complicated solution.

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.

Re:Push notifications are now supported cross-browser by kmeisthax on Tuesday March 28, 2023 @11:46AM (#35342939)
On iOS push notifications are gated behind Web Clips[0]. You can only ask for notification permissions if the user has pinned your webapp to the homescreen. This seems like a perfect way to deal with all the spammy notification asks.

[0] What iOS calls a "progressive web app"

Re:Push notifications are now supported cross-browser by afavour on Tuesday March 28, 2023 @03:21PM (#35346410)
To me it’s not ideal. I can imagine wanting a notification from an app I don’t want to install to my home screen and I wish it were possible.
Re:Push notifications are now supported cross-browser by philistine on Tuesday March 28, 2023 @07:54PM (#35349874)
I know it’s not exactly what you have in mind, but with the App Library screen you can have an app installed yet not on any Home Screen. It’s just with the rest of your apps in there.

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.

Re:Push notifications are now supported cross-browser by simjnd on Wednesday March 29, 2023 @03:38AM (#35353872)
Actually Web Clips are an exception: you cannot have it in App Library. It's either on your home screen or deleted.
Re:Push notifications are now supported cross-browser by WorldMaker on Tuesday March 28, 2023 @02:31PM (#35345716)
I feel like Firefox has done a good job moving the prompt to an unobtrusive part of the address bar and only really drawing attention to it after an interaction on a page occurred.

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.