Our relationship with push notifications has been rather circuitous...

  • First Andrew (@psychobunny) tried plain desktop notifications via the Notification API (that's the desktop notifications plugin), but notification delivery stopped when you closed your browser.
  • Then I wrote the PushBullet plugin, but they went from free to paid and that went out the window
  • Around that time I wrote the Firebase plugin, which was a dead end because there was no iOS support.
  • I then wrote the ntfy plugin, which works really well, but does rely on a freemium third-party service and app (written by @[email protected])
  • Thanks to some recent discussion from @crazycells and @bh4-tech, I learned that the Push API had reached general availability across most modern browsers. In fact, this actually happened over a year ago, so compatibility should be even better.

    So I set about working on yet another push notifications plugin, hopefully for the last time, and this time using the native Push API on the client-side.

    To enable them, simply navigate over to the "Push Notifications" menu item in your user profile, and flip the switch.

    So, let's dogfood! I de-activated the ntfy plugin on this site and activated the web-push plugin so you can try it out right now.

    The plugin is in the proof-of-concept phase, so there might (read: most definitely will be) issues. Please let me know any you find here.

    psychobunny

    NodeBB Community
    @apa @gsuberland I can think of some disadvantages:
    1. A group may not have a member technical enough and rich enough to operate "a traditional forum"
    2. Signup confirmations too often get dropped without notification by overzealous #antispam
    3. Forum tends not to support mobile #PushNotification, especially on #iOS where notification via #PushAPI cannot cause sound or vibration
    4. Some people don't want their spur of the moment words to be indefinitely publicly indexed in web search as #receipts for harassers to use against them
    Reading up on #PWAs as a route to being able to offer people a daily reminder to play Chainagram via a notification on their phone. It's theoretically possible on Android and on the way soon on iOS but blimey it's immensely complicated - unless I'm reading things wrong there is no way to schedule a simple notification on-device, I'd have to go the whole hog of sending out individual push notifications with all the security issues and upkeep that implies. Am I just being stupid?
    #WebDev #PushAPI

    Y'all help me out here, what's to be preferred:

    JQuery.ajax() or mozilla service workers and the Push API?

    asking for a friend

    #javascript #jquery #pushapi #ajax

    Ubuntu Touch push notifications for HTML5 apps

    https://tilvids.com/videos/watch/16b1e88d-7ce3-492f-87df-3ac2b65a2078

    Ubuntu Touch push notifications for HTML5 apps

    PeerTube

    Меня до сих пор поражает, с какой помпой #apple умеет релизить фичи, которые есть у других пять лет уже.

    Вот недавно заявили, что наконец будет поддержка #PushAPI в своем WebKit.

    https://webkit.org/blog/12945/meet-web-push

    Круто конечно, но лиса умеет в них с 16 года, а хром с 18: https://caniuse.com/push-api

    Блин, единственная фича, которую привнесли яблочники за последние годы это поддержка темной темы, хотя функция эта является отчаянным форсингом даже не принятно ещё драфта
    https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme

    Короче, все как всегда, делают только то что им удобно под соусом, который им удобен.

    Meet Web Push

    Websites have many reasons to notify their users of time-sensitive or high-priority events, even if the user does not currently have the site open.

    WebKit

    So the most annoying websites bugging with request for push notifications you've blocked from asking again are now prominently displayed as disabled among intentionally installed apps and push-allowed webapps in Chrome OS 70 settings tray... What a way to encourage bad behaviour. :(

    #ChromeOS #ChromeDevices #Chromebook #web #PushAPI #spam