From a200aded4f0fc2580e11516d6ef1c4c6d15c379e Mon Sep 17 00:00:00 2001 From: Richard Klafter Date: Mon, 22 May 2017 16:32:26 -0700 Subject: [PATCH] better vnc viewer page --- vnc_auto.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/vnc_auto.html b/vnc_auto.html index 9c59c47a..7999ba24 100644 --- a/vnc_auto.html +++ b/vnc_auto.html @@ -69,15 +69,18 @@ -
-
- +
+
+ Canvas not supported.
-
-

Remote Clipboard

- +
+

Remote Clipboard

+

Make copy & paste better by installing + YakPal +

+
@@ -215,6 +218,11 @@ setInterval(function(){ if(!window.yakpal || !window.yakpal.getClipboard) return; + //hide use-yakpal if they have it + try{ + document.getElementById('use-yakpal').style.display = 'none'; + } catch(e){ console.log(e); } + //update clipboard window.yakpal.getClipboard().then((result)=>{ if(result !== lastClipboard){ $D('copyBox').value = result;