How to send Website Notification from BrowserWindow() to Windows Desktop?


How do I receive notifications sent via the website and send them to Windows Desktop?

mainWindow = new BrowserWindow()


Could you clarify your question.
If you want receive notification from child window you might be set communication between child and parent windows then from parent(main process) you might send notification


Website ‘https://website.that.send.notification’ send notifications, which I want to show notifications on Windows Desktop.

Website --> Electron loadURL --> Windows Desktop


I think I have a solution to the problem.

Push notifications are not currently supported in Electron