For example, how it works on the Odnoklassniki social network. When a new message arrives, “New message (2)” is written in the page header.

  • Hurried, I did not think myself ... Here too, there is a solution: stackoverflow.com/questions/6601163/… - Jony
  • @Oleg Ponomarchuk, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - FLK

1 answer 1

document.title = 'New message'