I have a setInterval running a piece of code 30 times a second. This works great, however when I select another tab (so that the tab with my code becomes inacti
Heavily influenced by Ruslan Tushov's library, I've created my own small library. Just add the script in the and it will patch setInterval and setTimeout with ones that use WebWorker.