News for hackers. Stuff that matters.
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.