News for hackers. Stuff that matters.
Re:Don't touch my clipboard by 0zymandiass on Monday February 17, 2020 @09:36PM (#22352974)
I can highlight and ctrl+c without issue in their Writer clone. Never tried any others.

I've only ever seen that setting fix sites that try to prevent you from copying.

Re:Don't touch my clipboard by josephg on Monday February 17, 2020 @09:48PM (#22353045)
I’ve used clipboard events for legitimate uses - for example I use them in this pseudo Turing sandpit / visual programming system to move, copy and export content: https://steam.dance/ (you can hold shift for a selection box and once selected you can copy, etc).

But I wouldn’t be surprised if stuff like this is the exception rather than the rule. I feel like most news sites and blogs are improved with JavaScript disabled.

Re:Don't touch my clipboard by 0zymandiass on Monday February 17, 2020 @09:55PM (#22353067)
You're getting far enough into JS knowledge that I don't have.

Do you actually need clipboard events, or just dom.event.contextmenu.enabled for that?

Re:Don't touch my clipboard by zamalek on Monday February 17, 2020 @11:20PM (#22353423)
Put another way, on a website like draw.io, you need to be able to hook into copy to allow lassoing and copying a set of shapes (and have them remain editable when pasted).

The entire ask (stopping the copyright, and allow clipboard integration) be achieved by allowing pages to augment the clipboard data, which can already be done, but not replace it. Pages would still need to be able to hook paste.

Re:Don't touch my clipboard by smichel17 on Tuesday February 25, 2020 @11:11AM (#22414309)
Being able to hook paste is a much more reasonable ask. If you have js enabled, they're going to be able to access the content after paste anyway, so it's reasonable to allow notification that a paste has occurred.