Hacker News new | past | comments | ask | show | jobs | submit login

Firfox recently changed this so that you have it can only be invoked from within a button click or equivalent event[0] - I _think_ Chrome is following suit.

0 - https://developer.mozilla.org/en-US/docs/Web/API/Push_API




Yeah, and this works somewhat but sites just listen for the events on every element and trigger the popup then.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: