ungoogled-software/ungoogled-chromium

Option to disable Clipboard API?

Open

#2,622 opened on Dec 2, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (771 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (18,674 stars)
PR merge metrics
 (Avg merge 1d 11h) (9 merged PRs in 30d)

Description

Description

Disable (all) features from the "Clipboard API and events" spec

Who's implementing?

  • I'm willing to implement this feature myself

The problem

This spec is detrimental to user experience if abused. And it it being abused. What do i mean by that? Some sites allow you to copy but add their extra crap which you see when you paste it. An example from this site. If i copy the text:

openssl genrsa -des3 -out myCA.key 2048

Pasting that text results in:

openssl genrsa -des3 -out myCA.key 2048
Continue reading at https://angrysysops.com/2022/03/22/dns-over-https-in-unbound-extra-step-for-a-home-lab/ | [Angry Admin](https://angrysysops.com/)

In my opinion this is a gross misuse of features. I've seen quite a few sites already that modify the clipboard to add their own bs to is that you didn't select as copy command.

Possible solutions

Option to disable it.

Alternatives

none

Additional context

none

Contributor guide