3 ms·
> 1. For some reason it has to be some sort of pop up, it could easily be a small icon in your bar It is a popup right now... it is in your face and requires i
by ArchOversight 6y ago
> 1. For some reason it has to be some sort of pop up, it could easily be a small icon in your bar
It is a popup right now... it is in your face and requires immediate action.
An example:
https://imgur.com/a/GfqUuAZ https://imgur.com/a/GfqUuAZ
Using:
https://www.bennish.net/web-notifications.html 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.
- kaoD 6y agoWow, now I understand the sentiment... but that's a reason to stop using Safari, not against notifications.
- heavyset_go 6y agoSafari does not use the Web Push or Notification API, Apple has a bespoke Safari Push Notifications[1] API on macOS, so this poor implementation is completely on Apple. 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-notifications/ https://developer.apple.com/notifications/safari-push-notifi... [2] https://support.mozilla.org/en-US/kb/push-notifications-firefox https://support.mozilla.org/en-US/kb/push-notifications-fire...