Now how can we reclaim `onpaste` events? If I'm in an input box and paste text, are there any legit use cases of _blocking_ paste of text in text entry fields?
If you are browsing with Firefox, then yes, you can. Set this variable, "dom.event.clipboardevents.enabled", in about:config to false and websites can no longer block you from pasting into input fields.
There's also an extension called Don't Fuck With Paste.
Somehow it breaks Slack and Teams as collateral damage. I have to disable DFWP for certain sites.
Not collateral. They fuck with paste.
Preventing people from pasting Word HTML markup into documentEditable inputs (i.e. WYSIWYG editors)!