Fullscreen API
Lets a page take over the whole screen.
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
| 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 | Element fullscreen on iPad and Mac; iPhone limited to video |
| Safari on iPhone | Not supported | iPhone allows only video element fullscreen | Not listed | None |
| 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(); fullscreenchange |
| Permissions policy | fullscreen |
| Browser compat keys | api.Element.requestFullscreen |
| How access is granted | gesture |
| What the user sees | No 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 gesture | Yes |
| How long it lasts | Until exit; ends on tab switch in some browsers |
| How to take it back | Esc, F11, tab switch, or swipe |
| Inside an iframe | Needs allow="fullscreen" in cross-origin frames (default allowlist is self) |
Typical flow
- Click or tap
- element.requestFullscreen()
- Browser shows exit notice
- 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
| Type | Example | Apps |
|---|---|---|
| video | You click the full screen square in a streaming video and the movie fills the display. | Netflix, YouTube |
| games | A cloud game stream goes fully full screen so it feels like a console game. | Xbox Cloud Gaming, GeForce NOW |
| games | A browser shooter goes fullscreen with a click on Play, then locks the pointer. | Krunker.io |
| productivity | A slide deck app shows your presentation full screen on the projector. | Google Slides |
| education | An online exam site forces full screen and logs when a student leaves it. | None named |
| live | A live event or sports stream goes full screen with chat hidden. | Twitch |
| security | A 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
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 4 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
- 2011-09, Chrome 15: Prefixed fullscreen
- 2020-12, Chrome 71: Unprefixed requestFullscreen
- 2023-03, Safari 16.4: Element fullscreen on iPad
Related capabilities
Related
- Keyboard Lock. Can capture keys like Escape and Alt+Tab while the page is full screen
- Window Management (multi-screen). Can see all your connected screens and place windows on them, if you allow
Sources
How well checked: Based on official documentation.