⚡️ Version 5.6 is now released!Find out whats new
Detect and respond to your user's activity or lack thereof.
Robust feature set for all your activity detection needs.
Callbacks for when your user goes idle and becomes active again after being idle. Timers are offloaded to a WebWorker to avoid background throttling.
Callback when your user performs the specified events. This call back can be debounced or throttled to preserve performance.
Callback to open a confirm prompt with a countdown timer before the idle event is fired. Give your users a chance to let you know they are still there.
Support for multiple tabs and windows through a BroadcastChannel with localStorage fallback for older browsers.
Current engagement and quality statistics for the latest build of IdleTimer.
See IdleTimer in action. Go ahead and play around!
Hover over a property or method to see a description.
A lot of time and effort goes into maintaining and improving this project. Your donations help ensure that IdleTimer is the best it can be. You can support by subscribing or a one time donation. All donations have an associated reward.
Sponsor the project securely with Github
Feel free to ask questions, report issues, and meet new people.