You create a website, a blog, you write its content with passion and because that content is written by you no on else should have credit for it but it is internet and there are people who constantly copy other people stuff and make it their own. So, what are the ways to protect your content from getting plagiarised ?
But before all of this the bigger question is that 'Can you really protect your data?'
, the answer is 'NO'. Yes, you have read it right there is no way you can protect your data from getting plagiarised because even if you disble right clicks, people can directly write your content from there computer screen or they can take screenshots, thanks to the technology.
But there is one thing you can do, you can make it harder for them to copy the content. You can disable right clicks so they couldn't copy
and paste
, you can give them warning about the plagiarism, etc. Also, google itself can identify the plagiarism. Let's see some methods you can use to protect your precious content:
The users nowadays have become very smart, they can go around these methods of protection and can plagiarise your content but still not many users know about all these tricks to nullify the methods discussed below. So, using these methods will still save the website from lot of people. Here are some of the methods which users can apply to get past the protection methods:
Let's see the methods one by one, which can protect your data may be not completely, but to some extent:
This method doesn't really protect the data but you can give the user a warning when he tries to copy the content from your website. You can write the legal warning by yourself as a pop-up message. In the example below we have protected an image, whenever a user clicks on that image the warning will be shown. You have to add the code written below in between the <head>
</head>
tags.
After adding the script code
you have to create an event listener with the image you want to protect.
Look below the code you have to write in the <img>
tag.
In the above example The event listener 'onMouseDown'
is used which will envoke the popup message whenever user presses any mouse button on the image. And after the 'click'
the anything written on inside 'popupMsg'
will be displayed to the user in the form of an 'alert box'
.
Below is the live example of the warning message. Click on the div below and see the results.
The above example just give warning to the user which a user can easily ignore and can continue his copying work but here in this method by using JavaScript
you can disable the right click of the mouse on the website. The right click provide the option to copy the content but if you disable it, then the right click will not give any option to the user. Unless user knows some other tools to copy, this method would be sufficient for protection of the content.
You just paste this JavaScript code in your website's script and it will start working.
You can easily use HTML attributes also, to disable drags
, right clicks
and text selection
. HTML have some proper attributes to help you in this situation, the only drawback is that these attributes now only work on Internet Explorer
. But still if you want to add this in your code, let us explain this to you.
Just add the above written code within the body tag like this:
Apart from all the methods above, there is another lock of JavaScript code which you can add to your website to disable right clicks and also some keyboard shortcuts. It will block shortcuts like Ctrl + Shift + I
, Ctrl+ Shift + J
, Ctrl + S
, Ctrl + U
, and also F12
key. The F12 key is very important to disable because it can open the whole console which can display all the code of your website.
So, all the solution discussed above can be used to protect your data to some extent, but we all know that it cannot be fully protected. Still, 'Something is better than nothing'
, we can hope that these solutions will work. Best of Luck.
Follow Us: