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.



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

Search: