Re: [w3c/manifest] Way to detect if a web app is installed (Issue #1092)

benfrancis left a comment (w3c/manifest#1092)

OK, thank you.

So if I've understood correctly:
- For an installed web application with display mode set to `browser`, the `installed` media query will match `no`
- For an installed web application with display mode set to `mimimal-ui`, `window.standalone` will be `true`
- For a not-yet installed web application with a display mode of `standalone`, `window.standalone` will be false

| Installed | `display`  | `window.standalone` | `installed` media query |
| ------- | ------------- | ------------- | ------------- |
| No | browser  | false  | no |
| No | mimimal-ui | false | no |
| No | standalone | false  | no |
| No | fullscreen | false | no |
| Yes | browser  | false  | no |
| Yes | mimimal-ui | true | yes |
| Yes | standalone | true  | yes |
| Yes | fullscreen | true | yes |

Did I get that right?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/1092#issuecomment-2746381083
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/1092/2746381083@github.com>

Received on Sunday, 23 March 2025 19:32:00 UTC