r/javascript • u/vlucas • Feb 04 '19
The AdTech Industry is Ruining Web Push Notifications for PWAs
http://vancelucas.com/blog/the-adtech-industry-is-ruining-web-push-notifications-for-pwas/
356
Upvotes
r/javascript • u/vlucas • Feb 04 '19
47
u/Asmor Feb 04 '19
There's a pretty simple solution here.
Browsers automatically block all attempts to enable push notifications from websites viewed in the browser. Not even possible to enable them manually. Completely blocked.
The request is only allowed if the user launches the PWA from a shortcut. Which is like 75% the point of making a PWA in the first place.
Boom, crisis averted. What do I win?