---
title: Page Visibility API
slug: Web/API/Page_Visibility_API
browser-compat: api.Document.visibilityState
tags:
  - API
  - DOM
  - Documents
  - Hidden Pages
  - Hiding Pages
  - Intermediate
  - Page Visibility
  - Page Visibility API
  - Showing Pages
  - Tutorials
  - Visibility
  - Visible Pages
---

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat}}</p>
