Chrome and Firefox 5+ have a nice feature that causes timers < 1 sec to get executed after 1 second to decrease the performance load of javascript animation in background tabs. I have an image slideshow which calls .fadeOut() every 10 seconds, and if this page is left running in a background tab for a while the animations look like they need to 'catch up', causing a lot of flickering.
Is it possible to check (using Date.getTime() for example) if the fading animation runs proper or delayed and, in case of .fadeOut(), simply skip to the last step of the animation?