make my browser blink as indicator

后端 未结 4 891
栀梦
栀梦 2021-02-03 15:49

My coworker wrote a quick mvc chat application so we can chat about work stuff without leaving our desks.

What are some ways to indicate to each other a new message ha

4条回答
  •  有刺的猬
    2021-02-03 16:23

    It is not possible to make the browser blink in javascript. A possibility is to set the document title to empty an then write it again with through a period of time with setTimeout()

提交回复
热议问题