From 7a929f12319b585d8f8e05ebabc631d027834d4f Mon Sep 17 00:00:00 2001 From: Alexander Zeijlon Date: Mon, 20 Oct 2025 14:52:48 +0200 Subject: [PATCH] Allow noVNC to enter fullscreen in Safari on macOS The fullscreen limitation in Safari seems to only concern Safari on iOS. On macOS it works just fine. --- app/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ui.js b/app/ui.js index 2542e059..69a010f3 100644 --- a/app/ui.js +++ b/app/ui.js @@ -146,8 +146,8 @@ const UI = { initFullscreen() { // Only show the button if fullscreen is properly supported - // * Safari doesn't support alphanumerical input while in fullscreen - if (!isSafari() && + // * Safari on iOS doesn't support alphanumerical input while in fullscreen + if (!(isSafari() && isIOS()) && (document.documentElement.requestFullscreen || document.documentElement.mozRequestFullScreen || document.documentElement.webkitRequestFullscreen ||