@rosskevin/ifvisible

Idle duration is set to 00 seconds, so that you can see the effect easily.

  • Try switching between tabs or minimizing the window. and look for the event log
  • Do nothing and wait for idle time to fill. Counter should stop.
  • While Idle, try moving the mouse or pressing any key. Page should wake up
If you wait 00 seconds I'll sleep.
(^_^) Hey, there.
This simple clock 0 is updated via onEvery method. It should stop when page is not active (idle,hidden) and should continue with current time when page is active.

Event log: