Thursday, 15 April 2021

How to receive and handle Chrome notifications/push-notification?

I just want to write a small script that does Foo() whenever I receive a push notification from my browser(chrome). I tried to find some stuff out there but all I found was how to send said notifications, but I only want to receive them. Anybody can lead me in the right direction?

  1. I do not own the backend that sends the notifications
  2. There is no frontend, its notification from the browser
  3. I am currently trying with a browser extension, but cant access the notification. I do not know if browser extension is the way to go, that should be clear from my initial post.


from How to receive and handle Chrome notifications/push-notification?

No comments:

Post a Comment