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

oncontextmenu and ondragstart are preventDefault'ed _unless_ you are in a input/textarea e.g. leaving a reply. Truly bizarre and pointless. I've done something similar in a nonsense corporate context to stop people copying certain sensitive date, but at least I knew it was pointless.


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

Search: