logoalt Hacker News

jimt1234today at 4:57 PM5 repliesview on HN

Browsers should not have access to the clipboard.


Replies

afarah1today at 6:27 PM

You can disable it on Firefox by setting dom.event.clipboardevents.enabled to false. I haven't had any issues with it.

Someone shared the code in the comments, it uses 'copy' and 'cut' event listeners, so disabling this setting would have prevented the exploit regardless of an adblock.

inigyoutoday at 5:07 PM

It's you versus Google on that one. Who will win?

show 2 replies
schaefertoday at 5:46 PM

What?

If copy and paste is disabled in my default browser that would be something like 80% of my total of my total use cases for the clipboard in the first place.

show 1 reply
tgvtoday at 5:32 PM

Nor USB devices, nor the screen size, nor ... They can access way too many parts of the OS. But almost nobody cares, as long as they have their shiny feeds and videos.

shevy-javatoday at 5:14 PM

That depends. For my local use I want to access everything.

For external situations I agree. No clue why browsers started to sniff after people. I blame Google for that.