-1

Say I have facebook open in one tab and am currently active in another. If I get a notification on facebook I get a weird popup from the browser. Here's a picture:

enter image description here

Google does these same types of notifications when you get IM's. My question is... how do they do this?

CBroe
  • 91,630
  • 14
  • 92
  • 150
neubert
  • 15,947
  • 24
  • 120
  • 212

1 Answers1

1

They use Chrome's desktop notification feature.

Check out an example here: Chrome desktop notification example

P.S: You have to allow a site to show you desktop notifications. You will get a prompt near the address bar in Chrome, the first time a site tries to show you desktop notification.

Community
  • 1
  • 1
Darshan
  • 181
  • 1
  • 10