From 247f92e15eb6a3f65ed037e1e778772f26178d89 Mon Sep 17 00:00:00 2001 From: totaam Date: Wed, 15 Feb 2023 16:36:22 +0700 Subject: [PATCH] #226 don't enable clipboard with Safari and SSL --- html5/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html5/index.html b/html5/index.html index 7687b74a..14489e35 100644 --- a/html5/index.html +++ b/html5/index.html @@ -770,7 +770,10 @@

Xpra Bug Report

false ); const keyboard = getboolparam("keyboard", Utilities.isMobile()); - const clipboard = getboolparam("clipboard", true); + //Safari and navigator.clipboard don't mix well: + //(only enabled with ssl contexts) + //https://github.com/Xpra-org/xpra-html5/issues/226 + const clipboard = getboolparam("clipboard", !(Utilities.isMacOS() && ssl)); const printing = getboolparam("printing", true); const file_transfer = getboolparam("file_transfer", true); const steal = getboolparam("steal", true);