How can I show a users' activity count on site title that refreshes automatically like Facebook, LinkedIn, StackOverflow etc.
e.g. in linkedIn I usually see following title on browser to indicate one new activity updated on linkedIn wall.
(1) Imran Rizvi | Linkedin
I was searching for this question but did not find any solution.
I would if appreciate if anybody could let me know how to do this and with best practice.