Skip to Content
Platform.Ontology

Fullscreen API

Lets a page take over the whole screen.

Does something on your deviceScreen and windowsDisplayWeb browsersWhile you use it

In one line

Can fill your whole screen after you tap, with a clear way out

Lets a page take over the whole screen.

Needs a click or tap and shows an exit hint. Fullscreen can hide the address bar, which scam pages abuse to fake a browser UI. Esc always exits; iPhone Safari allows only video elements.

What it can and can't do

What the user does: You tap Fullscreen, or a video's expand button.

It can

  • Fill the screen with the page, or one part such as a video or game
  • Hide the browser's toolbars while it is on
  • Tell when you exit

It cannot

  • Start without a tap, click or keypress
  • Stop you leaving, since Esc always exits and the browser shows a notice
  • Skip the warning Firefox shows the first time
  • Change anything on your computer outside the browser

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported712018-12-04None
EdgeSupported792020-01-15None
FirefoxSupported642018-12-11None
SafariSupported16.42023-03-27Element fullscreen on iPad and Mac; iPhone limited to video
Safari on iPhoneNot supportediPhone allows only video element fullscreenNot listedNone
Chrome on AndroidSupported712018-12-04None
Samsung InternetSupported10.02019-08-22None

How a site asks for it

APIelement.requestFullscreen({navigationUI}); document.exitFullscreen(); fullscreenchange
Permissions policyfullscreen
Browser compat keysapi.Element.requestFullscreen
How access is grantedgesture
What the user seesNo prompt: transient activation required; browser shows a notice and Esc to exit. Firefox shows a one-time first-fullscreen warning.
Needs a secure context (HTTPS)Yes
Needs a user gestureYes
How long it lastsUntil exit; ends on tab switch in some browsers
How to take it backEsc, F11, tab switch, or swipe
Inside an iframeNeeds allow="fullscreen" in cross-origin frames (default allowlist is self)

Typical flow

  1. Click or tap
  2. element.requestFullscreen()
  3. Browser shows exit notice
  4. Page may now use Keyboard Lock

Data you get

What comes back: Fullscreen element
Shape: none
How often: while active

No individual data fields. The signal is the access itself.

Technical limits

  • Needs a gesture
  • iPhone Safari limited to video
  • Esc always exits

The story

What it is

Lets a page take over your whole screen, after you click something.

For you

You press a full screen button and the page fills the screen. A small hint says how to leave. Pressing Esc brings back normal windows.

For makers

Full screen removes distractions so a movie, a game or a slide deck feels like an app. Browsers require a click first, so pages cannot do it by surprise.

Where you see it

TypeExampleApps
videoYou click the full screen square in a streaming video and the movie fills the display.Netflix, YouTube
gamesA cloud game stream goes fully full screen so it feels like a console game.Xbox Cloud Gaming, GeForce NOW
gamesA browser shooter goes fullscreen with a click on Play, then locks the pointer.Krunker.io
productivityA slide deck app shows your presentation full screen on the projector.Google Slides
educationAn online exam site forces full screen and logs when a student leaves it.None named
liveA live event or sports stream goes full screen with chat hidden.Twitch
securityA scam site tries to fake a browser bar after a click to full screen.None named

Risks

  • Fake browser bars
  • Exam style spying

What the platform says

  • MDN: Fullscreen API. Explains how a page can show an element full screen so video or games fill the display.

Good uses and abuse

Legitimate uses

  • Video players
  • Games and slides

Known abuse

  • Fake browser chrome and address bar spoofing

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility4 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

  • 2011-09, Chrome 15: Prefixed fullscreen
  • 2020-12, Chrome 71: Unprefixed requestFullscreen
  • 2023-03, Safari 16.4: Element fullscreen on iPad

Sources

How well checked: Based on official documentation.

On this page