Relative Content

Tag Archive for javascriptclipboardguacamoleguacamole-common.js

Unable to Copy to Remote Clipboard using Guacamole js Library

I am working on a project where I need to copy text from my local machine and paste it into a remote machine using the Guacamole JavaScript library.
I have tried to implement this by listening to the paste event on my local machine and then sending the clipboard data to the remote machine using Guacamole’s clipboard stream. However, I am facing an issue where the paste event is not being triggered when I paste text.
I have tried adding the paste event listener to both the document and window objects, but neither approach seems to work. I have also tried creating a hidden editable field that always has focus, but the paste event is still not being triggered.