Protecting website contents - "Anti copy" controls

Can’t be done.

In order for the site to be readable to visitors their browser needs to first download a copy of everything to their computer. Once they have a copy there they don’t need to copy/paste in order to be able to do whatever they want with the already downloaded and saved copy of your page.

Anything you do to try to protect your page will block some visitor’s legitimate access to the page (those who don’t know how to override your block) driving them away. It will also encourage more idiots to steal your page because they think it is somehow clever that they know how to override whatever ‘protection’ you built in.

Even obfuscating (sometimes incorrectly referred to as ‘encrypting’) the page source will not work as all that is needed to convert it back to readable HTML is a web browser (since the web browser needs to do that in order to display the page).

The only way you can effectively protect your page from being copied is to enforce your copyright (in court if you get nowhere with the thief or their hosting provider).