Screen, window and tab capture
Asks to record or stream a screen, window or browser tab.
In one line
Can see the screen, window or tab you choose to share, until you stop
Asks to record or stream a screen, window or browser tab.
Gives the site a live copy of whatever the person picks: their whole screen, an app window, or a tab. Can expose private messages, tabs and credentials visible on screen.
What it can and can't do
What the user does: You click Share screen or Present, then pick a tab, window or screen in the browser chooser
It can
- Show a live copy of the tab, window or whole screen you pick
- Send that view to others on a call or into a recording
- Include the sound of a shared tab if you tick the audio box
- Record the shared view in the page
It cannot
- Start sharing without the browser chooser, which appears every time
- See anything you did not pick in the chooser
- Remember your choice, so the next share asks again
- Work on iPhone or Android browsers, which do not offer screen sharing to sites
How it differs between platforms: Desktop browsers only. Chrome can share tab audio; Firefox and Safari show a simpler list. Phone browsers do not support it.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 72 | 2019-01-29 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 66 | 2019-03-19 | None |
| Safari | Supported | 13 | 2019-09-19 | None |
| Safari on iPhone | Not supported | getDisplayMedia not on iOS | Not listed | None |
| Chrome on Android | Not supported | Not available | Not listed | None |
| Samsung Internet | Not supported | Not available | Not listed | None |
How a site asks for it
| API | navigator.mediaDevices.getDisplayMedia({video, audio, preferCurrentTab, selfBrowserSurface, systemAudio, surfaceSwitching, monitorTypeSurfaces, controller}) |
| Permission name | display-capture |
| Permissions policy | display-capture |
| Browser compat keys | api.MediaDevices.getDisplayMediaapi.CaptureController |
| How access is granted | picker |
| What the user sees | Browser-drawn chooser every time: Chrome tab, window, entire screen tabs; Share audio checkbox; Firefox and Safari simple list. No stored grant: each call prompts. Indicator bar Stop sharing stays visible while active. |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | Yes |
| How long it lasts | None: every call needs a fresh gesture and picker choice |
| How to take it back | Stop sharing button, closing the shared surface, or track.stop() |
| Inside an iframe | Cross-origin iframes need allow="display-capture" |
Typical flow
- Call getDisplayMedia from a click handler
- Browser shows picker
- Person picks tab, window or screen and optionally audio
- Promise resolves with MediaStream; constraints apply only to the picked surface
Data you get
What comes back: Video (and optional audio) of the chosen surface
Shape: stream
How often: continuous, frame rate up to about 30 fps default
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
displaySurface | enum | none | browser, window, monitor | hint only; reflects what was picked |
frameRate | float | fps | 1 to 60 | depends on surface |
width x height | integer | pixels | up to physical screen size | 1 px |
systemAudio | enum | none | include or exclude | Chrome desktop only |
suppressLocalAudioPlayback | boolean | none | true or false | hint |
Technical limits
- Site cannot silently capture: picker every call
- Cannot choose the surface for the person
- Constraints applied after pick
- Audio only for tabs on most platforms, system audio on Windows and ChromeOS
- No iOS support
The story
What it is
Lets a website record or live stream your screen, a window or a browser tab.
For you
A browser picker opens and you choose what to share: your whole screen, one window, or one tab. A banner or border shows while sharing is on, and you can stop with one click.
For makers
Screen sharing is what makes web calls, demos, support and game streaming work with no download. It also lets a maker record bug reports or train and test tools using what the user sees. The picker means the maker cannot grab more than the person chose.
Where you see it
| Type | Example | Apps |
|---|---|---|
| video | In a browser video call you click Share screen, pick a window, and your coworkers see your spreadsheet. | Google Meet, Zoom web, Microsoft Teams |
| games | A cloud gaming site streams a game to your tab, and a streaming tool captures a game window so you can go live on Twitch from the browser. | Xbox Cloud Gaming, GeForce NOW, Twitch |
| creative | A screen recorder in Chrome captures your tab and your voice to produce a how to video, saved right to your computer. | Loom, Screencastify, Clipchamp |
| enterprise | A support agent asks you to share your screen, so they can see an error message and walk you through the fix. | Intercom, Zendesk, Smartsheet |
| education | A coding class student shares an editor tab so the teacher can see their code in real time. | Replit, Zoom web |
| developer | A bug report tool records your tab for 30 seconds and attaches the clip to a ticket for the engineers. | Jam.dev, Sentry feedback |
| security | A scam site tricks you into sharing a fake support window, then watches your screen for bank details, which is why the picker matters. | None named |
Risks
- Private messages or passwords visible on shared screen
- Tricking people into sharing the wrong window
What the platform says
- Mozilla: getDisplayMedia. Developer docs say a page can capture a screen, window or tab after the person picks what to share.
Good uses and abuse
Legitimate uses
- Screen sharing in meetings
- Bug reporting
- Remote support
- Game streaming
Known abuse
- Social engineering to share a banking tab
- Capturing credentials displayed on screen
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 5 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 2 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2018-12, Chrome 72: getDisplayMedia ships unflagged
- 2019-01, Firefox 66: getDisplayMedia ships
- 2019-09, Safari 13: Safari adds getDisplayMedia
- 2021-09, Chrome 94: preferCurrentTab and selfBrowserSurface hints
- 2022-03, Chrome 105: systemAudio constraint
- 2023-10, Chrome 119: monitorTypeSurfaces hint
Related capabilities
Related
- Captured Surface Control (scroll and zoom the shared tab). Can scroll and zoom the browser tab it is sharing, if from the same site
- Region Capture and Element Capture. Can crop a screen share to one part of the page, with no extra prompt
- MediaRecorder. Can save a camera, mic or screen stream to a file, once you allowed it
Sources
How well checked: Based on official documentation.