I always want something unusual, I hope the is duplicate, but I failed to find by myself. So read the question completely before marking as duplicate.
I know how to disable copy paste cut with object.('copy paste cut', function (e) { e.preventDefault(); });
. But this doesn't work.
Do not throw eggs in me. It is really prevent from copy object itself. But not its parent, including every child, and of course including object.
This is not the end of the story. I'd like to be able to copy some children of object, but only one by one. In fact the object is table. I want to disallow to copy the complete table and allow to copy cells one-by-one.
PS. I know that this protection is like a law, the law didn't stop the person who to do something bad.
PPS. I know many ways to turn off protection. For example, I can switch off JS temporary, grab some data, or enter something I want to input or what ever. Most of the user do not know how to.
PPPS. I do not want to switch off copy-paste, off the selection, block some-key-press events for entire page or any thing else for an entire page. The task min to restrict for an average user the copy of entire table. The task max to allow copy a single cell. So this question is not a duplicate of the most of the such questions since I try to find out if it is possible to solve not the general copy-paste protection task, which I know how to do, but task with some special allow-deny restrictions.