Been using these now for about two years ...
http://www.imsupporting.com/desktop-notifications-live-chat/
Annoyingly, they have been changing the methods and how its used over time so have had to constantly play catchup when Google / chrome would change how it works. Hopefully, I guess its more stable now.