diff --git a/public/mstsc/client.js b/public/mstsc/client.js index 3294fe69..bc26d72b 100644 --- a/public/mstsc/client.js +++ b/public/mstsc/client.js @@ -180,6 +180,7 @@ self.prevClipboardText = null; self.clipboardReadTimer = setInterval(function(){ if(navigator.clipboard.readText != null){ + if (Mstsc.browser() == 'firefox') return; // this is needed because firefox pops up a PASTE option every second which is annoying navigator.clipboard.readText() .then(function(data){ if(data != self.prevClipboard){ diff --git a/views/default.handlebars b/views/default.handlebars index a26860e8..9f23c8f4 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -9593,6 +9593,7 @@ QH('DeskLatency', latencyStr); // Auto-clipboard if ((((desktop.contype != 4) && (desktopsettings.autoclipboard === true)) || ((desktop.contype == 4) && (desktopsettings.rdpautoclipboard === true))) && (navigator.clipboard != null) && (navigator.clipboard.readText != null)) { + if (Mstsc.browser() == 'firefox') return; // this is needed because firefox pops up a PASTE option every second which is annoying try { navigator.clipboard.readText().then(function(text) { if (desktop == null) return; diff --git a/views/default3.handlebars b/views/default3.handlebars index e283959e..43e5dc6a 100644 --- a/views/default3.handlebars +++ b/views/default3.handlebars @@ -10631,6 +10631,7 @@ QH('DeskLatency', latencyStr); // Auto-clipboard if ((((desktop.contype != 4) && (desktopsettings.autoclipboard === true)) || ((desktop.contype == 4) && (desktopsettings.rdpautoclipboard === true))) && (navigator.clipboard != null) && (navigator.clipboard.readText != null)) { + if (Mstsc.browser() == 'firefox') return; // this is needed because firefox pops up a PASTE option every second which is annoying try { navigator.clipboard.readText().then(function (text) { if (desktop == null) return;