Skip to content

Commit

Permalink
#226 don't enable clipboard with Safari and SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 15, 2023
1 parent dfc60db commit 247f92e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion html5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,10 @@ <h2>Xpra Bug Report</h2>
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);
Expand Down

0 comments on commit 247f92e

Please sign in to comment.