GoogleChromeLabs / web-push-codelab

Other
557 stars 293 forks source link

Get rid of the suscribe button #83

Open alexxa16 opened 5 years ago

alexxa16 commented 5 years ago

Hi, I want to say first that my code is working just fine, I just want to push further.

I want to know if there's a way to get rid of the push button, so the browser can make automatically the question "this site is trying to send notifications, allow?"

now, I got the problem that of course, if I get rid of the button a lot of the code functions are called by it, I need to replace it to start at open, instead of waiting for the push button to be active

So this can be easily integrated on an already build Website.