Can not protect text from your site.
These measures are completely artificial, they are just an ugly trick with JavaScript. Anyone with JavaScript disabled can do as they please. There are many other ways to get text even if you could block Ctrl
, for example: download the page via curl
, display the source code of the page, use the browser web browser.
By the way, prohibiting users from copying texts would be inelegant and goes against the open and democratic principle of the web. On the internet, information should move freely.
Imagine that a user wants to save a passage for themselves, or simply search for the definition of a word in an online dictionary. If you block the copy, it only harms that user, the layman, who does not plan malice. The experienced user, who wants to steal the text from your site, would use the techniques I've commented on.