Disable PWA prompt in Safari on iOS/iPadOS (#52)

This commit is contained in:
redphx 2023-08-04 07:17:59 +07:00
parent 6f326e8f2a
commit 0c80e3ab1d

View File

@ -2340,3 +2340,8 @@ updateVideoPlayerCss();
setupVideoSettingsBar();
setupScreenshotButton();
StreamStats.render();
// Disable PWA prompt in Safari on iOS/iPadOS
Object.defineProperty(window.navigator, 'standalone', {
value: true,
});