当前位置: 代码迷 >> JavaScript >> 用javascript来检测你在页面下的发呆时间(jquery插件)
  详细解决方案

用javascript来检测你在页面下的发呆时间(jquery插件)

热度:321   发布时间:2012-11-09 10:18:48.0
用javascript来检测你在页面上的发呆时间(jquery插件)
There are a few cases where you want to know if the user is idle. Namely:
  • You want to preload more assets[*]
  • You want to grab their attention to pull them back[*]
  • You want close their banking session after 5 minutes of inactivity. (Jerk!)[*]
  • You want the site to sneak off the screen and see if they notice ;-)[*]


http://paulirish.com/2009/jquery-idletimer-plugin/

Nick Zakas wrote a script for YUI3
  相关解决方案