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:
Google does these same types of notifications when you get IM's. My question is... how do they do this?