Firefox unfortunately has no choice but to be dragged along by Google.
Firefox unfortunately has no choice but to be dragged along by Google.
Also websites have realized that I am going to click No in the browser, so now they popup first asking if I want to allow push notifications in JavaScript so when I click no, they can ask me again later, vs if they popped up the browser and got a "No" there they could never ask me again.
Everyone acts like
1. For some reason it has to be some sort of pop up, it could easily be a small icon in your bar
2. Apple couldn’t/wouldn’t design this so that it was unobtrusive
3. If the way they did design it was still too annoying, they wouldn’t make it less so, or make it easy to turn off
Why do so many on HN argue from “if it existed it would obviously be in form X that already exists and therefore be bad and therefore I never want it and will oppose it vehemently” it’s a total lack of capability of even the most incremental innovative thinking.
It is a popup right now... it is in your face and requires immediate action.
An example:
Using:
https://www.bennish.net/web-notifications.html
> 2. Apple couldn’t/wouldn’t design this so that it was unobtrusive
It is obtrusive in that it is a full-window popover and you can't go to any other tabs until you have completed the action.
> 3. If the way they did design it was still too annoying, they wouldn’t make it less so, or make it easy to turn off
You can currently disable it browser wide in Preferences -> Websites => "Allow websites to ask permission to send notifications".
However, that doesn't stop various websites from displaying their own JavaScript based popups and requests before even attempting to use the Web Push Notifications API to see if the user wants to grant access using the native API's.
This way they can nag the user over and over to enable notifications whereas if you deny it once in the browser you need to take a bunch of manual steps to remove the website and grant them access.
On Firefox, it just puts a little message window icon in your address bar if you didn't trigger the Notifications API permission via a control on the website. When you do trigger the permissions through user interaction, and unobstructive widget shows up[2] that can be promptly hidden without ever actually interacting with it, unlike in your Safari example.
[1] https://developer.apple.com/notifications/safari-push-notifi...
[2] https://support.mozilla.org/en-US/kb/push-notifications-fire...
Honestly, HN is a cargo cult of native only, anti web app sentiment. It’s frustrating.
Your opinion isn’t held by other people, some of whom disagree with your opinion and are expressing that.
The other opinion seems "notifications cannot be disabled, therefore notifications are bad".
If you don't want to see notification requests, you never will. Granted: you need to be able to change settings, in a very restricted environment or with a custom clone of some browser you might not be able to.
For most users, that's not a problem. I'm one of them. I don't see notification requests on my desktop or phone. Neither do I see requests for geo-location, even though the browser is fundamentally capable of providing my geo-location to websites through an API; I've disabled it.
If I were on the Mobile Safari team, I'd propose bundling notifications into the bookmark workflow. If a user chooses to bookmark a site, prompt them at that moment (as an option in the modal) to subscribe to notifications if the site offers it. Because the user is expressing an interest in returning to the site, it's now appropriate to ask them to enable notifications, versus their first visit.
(For sites accessed through a synced iCloud bookmark, however, I would show a notifications prompt for the first visit on that device.)
I don't like notifications. I never get any notifications requests, unless I'm in a private window trying because some site wouldn't work with adblockers etc. Life can be so simple.
I don't want your phone calls. Your conversation is not important enough that I'm willing to be interrupted by you. The lack of phone calls is a desired feature. Please stop using phone calls. If I want to talk to you I will write you a letter. You don't have to nudge me into it.
The problem with not implementing notifications is that when they are useful (instant dispatch software), they are not implemented. But honestly I’d just spin up a telegram or email bot, if clients were not brainwashed with tekhnology. Messages and email are notifications. It is also a matter of minutes, opposed to creating a stupid service worker client-server-like runtime and trying to get things right without any test mode (long story short, implementing and debugging webpush requires publishing every change to a certified https host). There is even an entire company that sells you a properly configured webpush as a service. That’s just stupid.
This would have made it possible to offer notifications without being in-your-face about it, which would have made them more amenable for sites that were concerned about brand image and user feedback. The paradigm might not have become unavoidably tainted, and we'd just name-and-shame the bad actors.
It also makes it clear that the notification consent shouldn't be a one-way street-- you should be able to discontinue notifications through the same UI and in an obvious manner, rather than treating it as a consent you can easily offer, but not easily retract.
https://en.wikipedia.org/wiki/Inner-platform_effect
All in all, building out applications using cross-platform frameworks seems to be a far better solution for end users, and not significantly worse in terms of developer velocity, but I think there are other reasons they are not adopted, primarily that the web makes it far easier to invade privacy and deploy dark patterns, while that behavior typically is checked by the app store approval process for "native" or cross-platform applications.
Disagree. One reason sites want me to use their app is because I can’t block trackers. I wont use native apps if there is a web alternative BECAUSE i value privacy.
Why not? Web browsers are not just for reading text based articles. Most use a calendar, email, perhaps some kind of chat app through their browser. Aren't these and other similar use cases good reasons for notifications to exist?
Firefox as much as I love it, and has been my main browser linage since the Netscape days, doesn't stand a chance.
Specially when everyone is now packaging Chrome as Electron, while praising it for GNU/Linux desktop apps.
99% of Electron stuff could be done as pure Web application, and if native support is required, running as daemon.
With Firefox I don't see any issues related to the marketshare. All add-ons I want are available and all websites work just fine except one or two that just block it outright just out of spite (Apple Business Manager - business.apple.com being one)
As far as I know Mozilla doesn't have that many sources to keep it running, and the latest round of layouffs was kind of a signal of what is yet to come.
Let Google close the money stream and lets see what happens.
I hope to be wrong.
I would pay a lot though to keep it going. Like 100 a year or so (for me that's a lot :) )