Hacker News new | ask | show | jobs
by booblik 1931 days ago
Cool. Do paste blockers next.
3 comments

While we're complaining about pasting, am I the only one who gets annoyed by sites that only have click to copy buttons for certain content? It's often either that or they try to help me out by highlighting it. What I really want is to highlight it myself so I can paste it into my terminal. It'd be great if there was a way to get the button click copies to go to my other clipboard but I can't find anything on it anywhere
Just in case you weren't aware - be careful copy / pasting into terminal.

https://thejh.net/misc/website-terminal-copy-paste

It's pretty easy to make a website that has things that look and act like text inputs but which cannot be pasted into and cannot be detected as text inputs by the browser (short of something like computer vision, which I doubt will work well in practice).
Don't give them any ideas
Does Chrome not have a setting for this? In Firefox it's as easy as changing dom.event.clipboardevents.enabled to false.