News for hackers. Stuff that matters.
Re:Don't touch my clipboard by brobot182 on Monday February 17, 2020 @09:00PM (#22352781)
Is there a chrome plugin that prevents this?
Re:Don't touch my clipboard by analog31 on Monday February 17, 2020 @10:26PM (#22353199)
In lieu of a plugin, I always paste into a plain text editor and copy the stuff I actually want from there. I've always done this, not because of dark-patterny stuff, but just fonts and having bad aim with my cursor when I copy.
Re:Don't touch my clipboard by totetsu on Monday February 17, 2020 @09:44PM (#22353017)
I just modified a userscript to disable this. (running with tampermonkey) https://stackoverflow.com/a/26160412 I changed the document.addEventListener to 'copy'. It seems to stop the site from running its own code. [edit] This seems to be a more fully functioned script. https://greasyfork.org/en/scripts/14146-%E7%BD%91%E9%A1%B5%E...
Re:Don't touch my clipboard by jeffparsons on Monday February 17, 2020 @11:16PM (#22353410)
How about a Chrome plugin to disable Chrome's _own_ what-you-see-is-not-what-you-get behavior?

I occasionally find it convenient to select hostnames out of a URL in the address bar and paste them into a terminal. Chrome "helpfully" prepends noise to the text you actually copied ("scheme://"), which makes this a PITA.

Re:Don't touch my clipboard by gruez on Monday February 17, 2020 @10:07PM (#22353111)
as mentioned by others, on firefox you can set dom.event.clipboardevents.enabled to false in about:config, which prevents sites from being notified when you tried to copy something.
Re:Don't touch my clipboard by sdtsui on Monday February 17, 2020 @09:39PM (#22352986)
Same! I'd be interested in a chrome plugin that prevents this.
Re:Don't touch my clipboard by SanchoPanda on Monday February 17, 2020 @10:21PM (#22353174)
May I ask how many plugins you run at any time on average?