Gban'S & You Banner Image

How to prevent copying text from my website?

Spread the love

Hello YouArmy,

Good Evening,

Guess, you put your hard work, efforts, time to write some valuable and awesome article. But alas! You saw that some sites are copying texts or images from your website. How will you feel at that time?

Of course, there is nothing more frustrating than this! These are the people who do not want to or are possibly incapable of creating their own original content.

Unfortunately, some are bulky to copy your whole site from A to Z! Sometimes that copying is so dense, that site looks just like yours! Thus, it becomes so difficult for your visitors to differentiate between your site and theirs which one is real!

That to know, if your competitor steals your website content, it can also cause damage to your business and its growth. Sometimes the copying is done so illegally that many bloggers lose their anticipation to create their original content.


Related:


But luckily, this type of site never goes for a long run! And Search Engines like Google, Bing also penalize those sites. For example, those sites rank very lower in search terms or for any keywords! In worst cases, those completely vanished from search engines.

So, you can be relaxed about this! Now, if you want your site to become more difficult for stealers to copy, then this post is for you!

Now, Let’s move to the main point, in this post today we will know how to prevent copying content from your website. So, Here we go…

 


 

How to prevent copying text from my website?

In normal conditions, you can select texts via cursor or can download images from most of the website’s webpage.

Unfortunately, some bulky people take advantage of it and start copy-pasting those texts from your website’s articles to their site. Or, they simply download images from the original site and then upload them to their website without giving minimal credit.

In general, take a site like Wikipedia. You can easily copy texts (selecting the part you want) from this site and also can download any images easily. Though it’s under CC, the most site does not come under the CC (Disallows anyone to copy, distribute any of their content).

How to prevent copying content from my website?

Caution: Before you do this! Please make sure you already have a Backup of your site.

To avoid unnecessary miscoding in your site, you should do it. Otherwise, it may break your site and you can’t be undone. So, backup your site and work in relaxation.

So, How to prevent copying text and images from the website?

It’s too simple! Just copy the code from below and put it between the <head>….. </head> tag of your website.

Or, If you have a WordPress site, just copy the code from below and paste it before your  </head> tag in the theme’s header.php file.


<script type='text/javascript'>
var isCtrl = false;
document.onkeyup=function(e)
{
if(e.which == 17)
isCtrl=false;
}
document.onkeydown=function(e)
{
if(e.which == 123)
isCtrl=true;
if (((e.which == 85) || (e.which == 65) || (e.which == 88) || (e.which == 67) || (e.which == 86) || (e.which == 2) || (e.which == 3) || (e.which == 123) || (e.which == 83)) && isCtrl == true)
{
alert('This is Function Disabled');
return false;
}
}
//code
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
    alert('This is Function Disabled');
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
//select content code disable  alok goyal
function killCopy(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=killCopy
document.onclick=reEnable
}
</script>


Instructions for you, to better understand: 

First, go to your WordPress Dashboard. Click on Theme Editor.

How to prevent copying content from my website?

Then, Search for the header.php file from your Right Side Theme Files and click on that file.

How to prevent copying content from my website?

Then Insert the code before </head> tag.

How to prevent copying content from my website?

After successfully done this just click on Update File. 

From now, stealers find will it difficult to copy texts or images from your site. Though it’s not full-proof, it will help you to prevent copying from some bulky brains. Lastly, you can check if it’s working on your site. 

[If you can’t select any texts from your site it means you successfully done this!]

 


 

But! But! …Wait and read the below part too!

It’s quite impossible to prevent copying from people because they can do its opposite by disabling that js codes or any other technics. Either, they may take a screenshot of your whole web page and can start copying word by word.

Though the very rarest bulky will do this fool stuff! However, by doing the above method, you can make it harder for them to copy your site’s texts or images.

So, hope you enjoyed and find helpful of this post. Thanks for reading! See you soon 😉

Read Also:

Leave a Reply

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

Next Post

Different types of ssl certificates

Fri Apr 3 , 2020
Spread the loveHello gnees army, Good evening, SSL means Security Socket Layer. Like this.. In most of cases, SSL used for http website to convert https website. Learn more Differences between http and https. In short when you put/transfer information to any server, your info is encrypted while passing through […]
https Padlock Icon

You May Like