Skip to Content
Platform.Ontology

Fullscreen

Takes over the whole screen for a page element after a click.

Does something on your deviceThings a page can doDisplay controlWeb browsersWhile you use it

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

BrowserStatusFirst versionReleasedNote
ChromeSupported712018-12-04None
EdgeSupported792020-01-15None
FirefoxSupported642018-12-11None
SafariSupported16.42023-03-27None
Safari on iPhonePartial16.42023-03-27Partial implementation per MDN BCD
Chrome on AndroidSupported712018-12-04None
Samsung InternetSupported10.02019-08-22None

How a site asks for it

APIelement.requestFullscreen({navigationUI}); document.exitFullscreen()
Permissions policyfullscreen
Browser compat keysapi.Element.requestFullscreen
api.Document.fullscreenElement
How access is grantedgesture
What the user seesNo prompt (needs a click, tap or keypress)
Needs a secure context (HTTPS)No
Needs a user gestureYes
Activationtransient
How long it lastsEnds on Esc, navigation or exitFullscreen(); no stored state
How to take it backNothing to revoke (no permission is stored)
Inside an iframeCross-origin iframe needs allow="fullscreen" (Permissions Policy fullscreen defaults to self)

Typical flow

  1. Person clicks
  2. Page calls requestFullscreen within about 5 s
  3. Browser shows Press Esc to exit message
  4. 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

TypeExampleApps
videoYou hit full screen on a movie and the player hides all the browser controls.YouTube, Netflix
gamesXbox Cloud Gaming or GeForce NOW in the browser go full screen so it feels like a console.Xbox Cloud Gaming, GeForce NOW
productivityA presenter shows slides full screen in a web deck.Google Slides, Canva
liveA live sports stream fills your screen for the match.Twitch, DAZN
securityA phishing page fakes a full screen browser window to steal passwords, which is why browsers show a warning.None named
educationA 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

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bitsNot ratedRough 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)
  • 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.

On this page