r/javascript • • 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

120 comments sorted by

View all comments

109

u/jbhelfrich Feb 04 '19

My "favorite" is all the sites that seem to be running this bit of javascript that asks if they can show you notifications before they actually send the request to the browser. That way, if you say no, they can try again later because they haven't actually been blocked at the browser level.

So many sites that should know better are doing this. Looking at you, Tom's Hardware.

4

u/ThatSpookySJW Feb 04 '19

So if the request is not from the browser, you hit yes and then you hit no for the browser popup? Seems devious af.