Hacker News new | ask | show | jobs
by brobot182 2319 days ago
Is there a chrome plugin that prevents this?
6 comments

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.
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...
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.

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.
Same! I'd be interested in a chrome plugin that prevents this.
May I ask how many plugins you run at any time on average?