Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy paste NoVNC chrome #335

Merged
merged 5 commits into from
Dec 10, 2019
Merged

Copy paste NoVNC chrome #335

merged 5 commits into from
Dec 10, 2019

Conversation

ericfranz
Copy link
Contributor

@ericfranz ericfranz commented Dec 5, 2019

Fixes #198 for Chrome. See issue for summary of solution.

Note: after this is approved, we will need to use our poor-man's cache bust of noVNC-1.0.0/app.v1.js by renaming it noVNC-1.0.0/app.v2.js.

so if clipboard-read permission results in TypeError we just ignore it
that way if in the future Firefox or other browser defines clipboard.readText but
does not support the read permission we don't get a bunch of console warnings
@ericfranz ericfranz changed the title [WIP] Copy paste NoVNC chrome Copy paste NoVNC chrome Dec 6, 2019
@ericfranz ericfranz merged commit 26a265a into master Dec 10, 2019
@ericfranz ericfranz deleted the copy_paste_novnc_chrome branch December 10, 2019 15:18
samirmansour pushed a commit that referenced this pull request Feb 14, 2020
NoVNC mod for streamlined copy/paste in chrome novnc/noVNC#1301

If clipboard-read permission results in TypeError we just ignore it
that way if in the future Firefox or other browser defines clipboard.readText but
does not support the read permission we don't get a bunch of console warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard: Add optional hack to enable with copy/paste in NoVNC
1 participant