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

Artikel, video, dan contoh hebat oleh Thomas Steiner tentang pemberitahuan push yang bagus di 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 adalah API yang luar biasa kuat, tetapi mudah untuk menyalahgunakan dan mengganggu pengguna Anda. Hal buruk untuk situs Anda adalah jika pengguna memblokir pemberitahuan karena Anda meminta tanpa peringatan, maka Anda tidak mendapatkan kesempatan untuk bertanya lagi.

Perlakukan pengguna Anda dengan hormat, Konteks adalah raja untuk pemberitahuan Push Web.

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.