Fullscreen
Takes over the whole screen for a page element after a click.
In one line
Can make a video or page area fill your screen, after you tap
Takes over the whole screen for a page element after a click.
A site can hide the browser UI, which helps video and games but also lets a malicious page draw a fake desktop or browser bar. Esc always exits.
What it can and can't do
What the user does: You tap a Full screen button, or press a key like F on a video.
It can
- Fill the screen with a video, a game or a photo after a tap or key press
- Hide the browser's toolbars while it is on
- Stay full screen until you press Esc or swipe out
It cannot
- Go full screen without a tap, click or key press
- Block the Esc key or the swipe that gets you out
- Take over the whole iPhone screen for anything other than video
- Hide that you are in full screen; browsers show a short banner
How it differs between platforms: iPhone Safari is limited: video can go full screen, but most other page elements cannot. Android Chrome and desktop browsers allow it for any element.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 71 | 2018-12-04 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 64 | 2018-12-11 | None |
| Safari | Supported | 16.4 | 2023-03-27 | None |
| Safari on iPhone | Partial | 16.4 | 2023-03-27 | Partial implementation per MDN BCD |
| Chrome on Android | Supported | 71 | 2018-12-04 | None |
| Samsung Internet | Supported | 10.0 | 2019-08-22 | None |
How a site asks for it
| API | element.requestFullscreen({navigationUI}); document.exitFullscreen() |
| Permissions policy | fullscreen |
| Browser compat keys | api.Element.requestFullscreenapi.Document.fullscreenElement |
| How access is granted | gesture |
| What the user sees | No prompt (needs a click, tap or keypress) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | Yes |
| Activation | transient |
| How long it lasts | Ends on Esc, navigation or exitFullscreen(); no stored state |
| How to take it back | Nothing to revoke (no permission is stored) |
| Inside an iframe | Cross-origin iframe needs allow="fullscreen" (Permissions Policy fullscreen defaults to self) |
Typical flow
- Person clicks
- Page calls requestFullscreen within about 5 s
- Browser shows Press Esc to exit message
- Page receives fullscreenchange
Data you get
Shape: none
No individual data fields. The signal is the access itself.
Technical limits
- Needs transient user activation; promise rejects with TypeError otherwise
- Esc (or system gesture) always exits; with Keyboard Lock the person must hold Esc for about 2 s
- Browser shows an exit notice for a few seconds; Safari desktop limits some keys in fullscreen
- iPhone Safari supports only video fullscreen through the native player (requestFullscreen on elements is iPad only)
- Cannot enter fullscreen without a gesture even when previously allowed; the F11 user fullscreen is separate
- Password and sensitive prompts from the OS or browser still render above
The story
What it is
After you click, a site can make part of the page fill your whole screen.
For you
You tap a full screen button on a video or game. The page fills your display and a small note tells you how to leave with Escape.
For makers
Makers use it for immersion: video, games and slides. The click rule exists so a site cannot suddenly cover your screen with a fake desktop.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | You hit full screen on a movie and the player hides all the browser controls. | YouTube, Netflix |
| games | Xbox Cloud Gaming or GeForce NOW in the browser go full screen so it feels like a console. | Xbox Cloud Gaming, GeForce NOW |
| productivity | A presenter shows slides full screen in a web deck. | Google Slides, Canva |
| live | A live sports stream fills your screen for the match. | Twitch, DAZN |
| security | A phishing page fakes a full screen browser window to steal passwords, which is why browsers show a warning. | None named |
| education | A student opens a full screen exam page that locks out distractions. | None named |
Risks
- Fake browser bars
- Screen takeover
What the platform says
- Mozilla: Fullscreen API. MDN says the API lets a site present an element, like a video or game, filling the whole screen.
Good uses and abuse
Legitimate uses
- Video players
- Games
- Slide presenters
Known abuse
- Fake OS or browser UI (fullscreen spoofing)
- Locking attention
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2012, Chrome 15: Prefixed Fullscreen API
- 2018-12, Chrome 71: Unprefixed requestFullscreen that returns a promise
- 2018-12, Firefox 64: Unprefixed Fullscreen API
- 2023-03, Safari 16.4: Standard Fullscreen API on iPad (iPhone still video only)
Related capabilities
Related
- Keyboard Lock. Can capture shortcut keys like Esc or Ctrl+W, but only in fullscreen on Chromium
Sources
How well checked: Based on official documentation.