Avoid timers throttling by browser when tab is inactive
npm install hacktimernpm install hacktimerLatest version is 1.1.0
Registry URL: https://www.myget.org/F/hack-timer/npm
bower install hacktimerLatest version is 1.1.0
Registry: https://www.myget.org/F/hack-timer/bower/
You can specify bower registry in file .bowerrc in your working directory
``json``
{
"registry": {
"search": [
"https://www.myget.org/F/hack-timer/bower/",
"https://bower.herokuapp.com"
]
}
}
Worker code HackTimerWorker.js (or HackTimerWorker.min.js) must be placed in separate file. It is used to fallback if Blob is not supported
To change worker code script name or path go to the end of HackTimer.js (or HackTimer.min.js) file and replace script name.
HackTimer.silent.min.js writes to log only if initialisation failed. Use it with HackTimerWorker.min.js .