How to disable right click menu on website

Many people are working on their website and they want to build more and more feature in their website. For them I am describing a method to make your website better.

Now a days many website have a feature that we can’t copy or paste from that site, even we are unable to perform a right click. It is a very attractive feature. You can enable it in your website by doing these simple steps. There are two methods the first one is: How to disable Right Click and the second method is: How to disable copy and paste by using shortcut keys ctrl+x, ctrl+c and ctrl+v.

Here I am showing you the steps to disable Right Click on your website. I will describe the method of disabling copy and paste in another blog.

Some people told that you must have the knowledge of JavaScript. But I am not believing on this line. Anyone can try it and use it.
To perform these steps you should know the home page and its header tag of your website. Now moving towards its steps:

Step 1: Open the home page of your website in any text editor. If you are editing offline then I will prefer Notepad++ which can be downloaded from the link https://notepad-plus-plus.org. It is a free software.

Step 2: Go to your title tag under head tag area. You can find it on the beginning of the codes of that line. It is the best zone to write JavaScript.