Reputation: 1283
Can you help me give a library that have notification feature like on Web Slack and Web Skype that can notify user even if he/she is not on your site page.
Thanks, sorry for the title I dont know what type of notification this is.
Upvotes: 0
Views: 4842
Reputation: 597
I know this question was asked ages ago, but this turned up when I googled a similar question. So thought I would share the correct links...
The official documentation for this is:
Chrome https://developers.google.com/web/fundamentals/push-notifications/
Safari https://developer.apple.com/notifications/safari-push-notifications/
Firefox https://developer.mozilla.org/en-US/docs/Web/API/Push_API
Upvotes: 0
Reputation: 10484
This is either a chrome extension or a native app, a browser window can't normally access other windows
Their documentation sucks, I would recommend just searching around stack overflow
https://developer.chrome.com/extensions/api_index
https://developer.chrome.com/extensions/tabs
If, by the chance this is actually a new thing, it would be called a web-worker, which is a long running process behind the scenes. Likely, it's a background script which uses some chrome API
Upvotes: 1