Why Build Progressive Web Apps: Push, but Don't be Pushy! Video Write-Up

Un excellent article, une vidéo et un exemple de Thomas Steiner sur les bonnes notifications push sur le Web.

A particularly bad practice is to pop up the permission dialog on page load, without any context at all. Several high traffic sites have been caught doing this. To subscribe people to push notifications, you use the the PushManager interface. Now to be fair, this does not allow the developer to specify the context or the to-be-expected frequency of notifications. So where does this leave us?

Read full post .

Web Push est une API incroyablement puissante, mais il est facile d’abuser et d’ennuyer vos utilisateurs. La mauvaise chose pour votre site, c'est que si un utilisateur bloque les notifications parce que vous le lui demandez sans avertissement, vous n'aurez plus l'occasion de le demander.

Traitez vos utilisateurs avec respect, le contexte est roi pour les notifications Web Push.

About Me: Paul Kinlan

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.