- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 21 May 2026 16:11:20 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 21 May 2026 23:11:24 UTC
@marcoscaceres commented on this pull request.
> + .browser-nav { display: none; }
+ .share-via-os { display: block; }
+ }
+ </pre>
+ <p>
+ JavaScript access via `matchMedia()`:
+ </p>
+ <pre class="js">
+ const installed = window.matchMedia("(installed)").matches;
+ if (installed) {
+ // Running as an installed app - suppress install UI
+ document.querySelector(".install-banner")?.remove();
+ }
+ </pre>
+ </aside>
+ <p class="note">
we probably don't need this note... we are yet to figure out how to automate testing.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/1218#pullrequestreview-4341350049
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/manifest/pull/1218/review/4341350049@github.com>
Received on Thursday, 21 May 2026 23:11:24 UTC