The display field in the manifest decides how much browser interface surrounds your installed app.
| Mode | What users see | Typical use |
|---|---|---|
fullscreen | No browser UI and no status bar | Games, kiosks, media |
standalone | Its own window, no address bar | Most apps |
minimal-ui | Its own window with a small set of browser controls (back, reload) | Content apps that need navigation |
browser | A normal browser tab | Not installable as an app |
Browsers fall back along that list: if a mode is not supported, the next one down is used.
display_override
display_override is an ordered list of modes to try before display. It is how you opt in to newer modes without breaking older browsers:
"display": "standalone",
"display_override": ["window-controls-overlay", "tabbed", "standalone"]
window-controls-overlay(Chromium desktop): your content extends into the title bar area, and the window controls float over it. You draw your own title bar.tabbed(Chromium desktop, experimental): the app window gets tabs.
Detecting the mode
CSS:
@media (display-mode: standalone) {
.install-button { display: none; }
.app-header { padding-top: env(safe-area-inset-top); }
}
JavaScript:
const installed = matchMedia('(display-mode: standalone)').matches
|| navigator.standalone === true; // older iOS
matchMedia('(display-mode: standalone)').addEventListener('change', (e) => {
console.log('standalone now', e.matches);
});
See detect an installed PWA for analytics.
Designing for standalone
- Navigation: without an address bar or back button (on iOS, for example), every page needs a way back. Breadcrumbs and a clear home link help.
- Safe areas: add
viewport-fit=coverto the viewport meta tag and pad withenv(safe-area-inset-*)so content is not hidden behind notches and rounded corners. - External links: links outside your
scopeopen in the browser automatically on most platforms. Mark them clearly. - Pull to refresh may not exist; offer a refresh where it matters.
- Title bar colour comes from
theme_color, or from<meta name="theme-color">per page, which can even change withmedia="(prefers-color-scheme: dark)".
Window controls overlay in practice
.titlebar {
position: fixed;
left: env(titlebar-area-x, 0);
top: env(titlebar-area-y, 0);
width: env(titlebar-area-width, 100%);
height: env(titlebar-area-height, 40px);
-webkit-app-region: drag;
app-region: drag;
}
.titlebar button { -webkit-app-region: no-drag; app-region: no-drag; }
More in desktop integration.
ब्राउज़र सपोर्ट
| फ़ीचर | Chrome / Edge desktop | Chrome Android | Safari iOS / iPadOS | Safari macOS | Firefox desktop | Firefox Android | Samsung Internet |
|---|---|---|---|---|---|---|---|
| Window controls overlay | Chrome / Edge desktop: हाँ | Chrome Android: नहीं | Safari iOS / iPadOS: नहीं | Safari macOS: नहीं | Firefox desktop: नहीं | Firefox Android: नहीं | Samsung Internet: नहीं |
| Web app manifest | Chrome / Edge desktop: हाँ | Chrome Android: हाँ | Safari iOS / iPadOS: आंशिक (Name, icons, display, scope, start_url, id; no shortcuts or screenshots) | Safari macOS: आंशिक (Used by Add to Dock (Safari 17+)) | Firefox desktop: आंशिक (Used by web apps on Windows (Firefox 143+)) | Firefox Android: आंशिक (Used by Add to Home screen) | Samsung Internet: हाँ |