Is it possible to detect “idle” time in JavaScript?

My primary use case probably would be to pre-fetch or preload content.

I define idle time as a period of user inactivity or without any CPU usage

37 s
37

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *