How do i detect if the user is “idle” with javascript?

后端 未结 4 1409
忘掉有多难
忘掉有多难 2020-12-17 23:05

I\'m developing a \"real-time\" web application which sends AJAX requests to the server every 10 seconds. Obviously this is very bandwidth-intensive and I would like to know

4条回答
提交回复
热议问题