don't treat fullscreen display-mode as installed PWA Hunter Sunday, May 31st, 2026 at 6:09 PM
| resources/ | -2 |
12 // When installed as a PWA, always hit cache. 13 const isInstalled = 14 window.matchMedia('(display-mode: standalone)').matches || - window.matchMedia('(display-mode: fullscreen)').matches || - window.matchMedia('(display-mode: minimal-ui)').matches || 15 window.navigator.standalone === true; 16 17 // Register when installed as a PWA regardless of hostname so a mixapp