Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 858 Bytes

AX22.md

File metadata and controls

23 lines (14 loc) · 858 Bytes

Highlighted page in background when the title is changed

document.addEventListener("blur", () => document.title = Date.now(), false)

TODO add link to NotificationAPI and Dynamic favicon

Tags

  • tab

Applications

  • Firefox 4 12
  • Chrome 13

See also

Footnotes

  1. only work is the page is in a pinned tab 2

  2. the tab will glow when the page's title change while the page is in background and not in loading state

  3. the tab will blink only once, when the title change. Use setInterval(() => document.title = Date.now(), 1000)