Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can anybody help me understand why browsers even allow disabling paste? It’s such a universally hated and ableist function. Why can’t the browsers just force a fix by…not supporting this “feature”?


Problem is, the idiot customer copies and pastes the wrong thing, and then goes on bothering customer support, who go and bother me, the dev, to fix the account. Obviously there are solutions to fix all of this, but that's not how management dreamed up their website, so I'm stuck between supporting idiots and disabling paste.


What about all the disabled people that you are silently rejecting? They don’t typically have it in them to make as much noise as your one idiot customer but please be aware you are actively harming them.


They're even more likely to type the wrong thing, so this actually makes the problem worse


Protip on Firefox is to head into about:config and toggle dom.event.clipboardevents.enabled to False.

This will prevent all websites detecting clipboard events and it defeats a lot of the annoying website behavior without needing to disable javascript entirely.

The only things it may break is if you legitimately do use any web apps that need to detect clipboard events; but, I have yet to run into anything.


right, if I can type into it, I expect to be able to paste into it, like every other text field in every OS GUI of the past, what, 40 years?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: