Some HTML Attributes Considered Harmful, or Don't Mess with Copy-Paste
Published on 2024-11-03
Please, please, please do not disable copy-paste on a website. I know you think you’re probably helping make your sign-up form more secure by making sure I have to manually write out my email address both times, but I’m copying it out of a password manager. You’re just wasting everyone’s time. For the love of God, even if you think your text is super special and no one should be able to copy it, you’re not stopping anyone. You’re just wasting time. I don’t want to either disable whatever inane method you used to try and stop me from copy pasting or just pulling up the raw HTML of the webpage.
Get it into your thick skull. I have the text downloaded on my computer. You can’t stop me from copying it. You can only waste time. Even if you display the text as an image, if I can read it so can a computer. OCR is instant.
Disabling copy-paste is like a randomly appearing pop-up window, there are so few times that you want it to happen that browsers should just block them altogether. I’m not sure there’s ever been a single time in my life I was on a webpage and wished I didn’t have the option to select and copy some of the text displayed on my screen. I have never once wished I didn’t have the option to paste something into a text input field.
Disabling copy-paste is incredibly annoying and accomplishes nothing. Please don’t do it and help make the internet a slightly less annoying place.