Google Chrome bug when setting document.title after tab switching

from blog heyman.info, | ↗ original
Usually it’s IE6 that makes you cry because of quirky behavior, but today I ran into a bug in Chrome. It caused notification messages to sometimes get stuck in the title bar, in my Title Alert jQuery plugin. It turns out that if you set document.title immediately after you have activated the browser tab (for example in the window.onfocus event...