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

javascript-can-access-clipboard=false doesn't stop sites from modifying the clipboard contents #757

Open
falsifian opened this issue Dec 3, 2023 · 0 comments

Comments

@falsifian
Copy link
Contributor

Steps to reproduce

In ~/.config/vimb/config add set javascript-can-access-clipboard=false

Go to a Stack Overflow page, click a "Share" button, and click "Copy link"

Expected behaviour

My clipboard is unaffected.

Actual behaviour

The website is able to modify my clipboard.

Maybe javascript-can-access-clipboard only prevents read access? I'm more concerned about write access, because I have a bad habit of pasting things into my terminal, and websites being able to affect what I paste into my terminal seems dangerous.

If the current behaviour is intentional and won't be changed, the man page should be updated to clarify only read access is prevented.

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

No branches or pull requests

1 participant