visibilityjs icon indicating copy to clipboard operation
visibilityjs copied to clipboard

Doesn't seem to work in chrome/mac?

Open lu3do opened this issue 8 years ago • 2 comments

Whatever I do (switching to other tabs, windows, programs or minimize the current window) it keeps counting up the seconds the page is visible for, It never detects that i'm leaving the page.

lu3do avatar Sep 26 '17 20:09 lu3do

Honestly, right now without vendor prefixes it is better to use standard browser API directly without any syntax sugar.

ai avatar Sep 26 '17 23:09 ai

windows, programs or minimize the current window

BTW, Page Visibility API works only with browser tab switching. Changing window focus on even lock OS will not trigger hide.

ai avatar Sep 26 '17 23:09 ai