Page Visibility

- REC

JavaScript API for determining whether a document is visible on the display

IE

  1. 5.5 - 9
  2. 10
  3. 11

Edge

  1. 12 - 81
  2. 83

Firefox

  1. 2 - 9
  2. 10 - 17
  3. 18 - 77
  4. 78
  5. 79 - 80

Chrome

  1. 4 - 13
  2. 14 - 32
  3. 33 - 81
  4. 83
  5. 84 - 86

Safari

  1. 3.1 - 6
  2. 6.1 - 13
  3. 13.1
  4. 14 - TP

Opera

  1. 9 - 12
  2. 12.1
  3. 15 - 19
  4. 20 - 68
  5. 69

iOS Safari

  1. 3.2 - 6.1
  2. 7 - 13.3
  3. 13.4
  4. 14.0

Opera Mini

  1. all

Android Browser

  1. 2.1 - 4.3
  2. 4.4 - 4.4.4
  3. 81

Blackberry Browser

  1. 7
  2. 10

Opera Mobile

  1. 10 - 12
  2. 12.1
  3. 46

Chrome for Android

  1. 81

Firefox for Android

  1. 68

IE Mobile

  1. 10
  2. 11

UC Browser for Android

  1. 12.12

Samsung Internet

  1. 4
  2. 5 - 11.2
  3. 12.0

QQ Browser

  1. 10.4

Baidu Browser

  1. 7.12

KaiOS Browser

  1. 2.5
Resources:
Demo
MDN Web Docs - Page Visibility
WebPlatform Docs
SitePoint article