Skip to content

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

@falsifian

Description

@falsifian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions