0

Disable copying of a Web page

Hello Everyone,

I received an email where the programmer wanted help on how to protect his webpage from being copied by others. To disable the ctrl+c or cmd+c (meaning disabling the copying of your web page content).

Here is the easiest solution, Just copy paste the following Javascript code within the head tag:
<p data-height=”265″ data-theme-id=”0″ data-slug-hash=”evqeaZ” data-default-tab=”result” data-user=”ayeshaasghar” data-embed-version=”2″ data-pen-title=”Disable copy of content of your web page” class=”codepen”>

See the Pen Disable copy of content of your web page by Ayesha Asghar !

ayesha

Leave a Reply

Your email address will not be published. Required fields are marked *