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

`navigator.standalone` is true if you're in an app window, no matter the display mode. So for 'minimal-ui', 'standalone', etc. Also, importantly, true if the app is fullscreen. It's not the best name, but it's already shipped in WebKit, so... not terrible. We could do `navigator.installed` instead, but I'm fine with not doing that.

The meaning is that the web contents is in an app window. @marcoscaceres we should clarify what frames can see this. I think navigator.standalone is only top level? I'm embarrassingly ignorant of the iframe terminology, but I think there is a concept of a more trusted iframe vs a less trusted one, and I would hope that these are populated for the trusted but not the untrusted.

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

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

Received on Thursday, 5 December 2024 19:54:16 UTC