Disable Right Click with HTML code
There are many ways to prevent the use of Right Click on your Web page, but the most popular one was to use a JavaScript code to disable Right Click. With JavaScript you can either display a custom message like "No Right Clicks Allowed" or just annoy the user by no response.
Any ways I strongly recommend that you do not Disable Right Clicks on your site. One thing is that the user gets a hostile feeling and may not prefer to return. Then there is no such thing as a complete foolproof way to prevent users from copying or saving your content. I have did this with all the site I visited and which used such a foolish technique.
Let's come to the point now it's plain simple to disable right clicks1 . View the HTML sourve code of your website and locate the <body> tag.
2 . Paste this inside the tag
ondragstart="return false" onselectstart="return false" onContextMenu="return false"
Now the code will look something like
2 . Paste this inside the tag
ondragstart="return false" onselectstart="return false" onContextMenu="return false"
Now the code will look something like
<body ondragstart="return false" onselectstart="return false" onContextMenu="return false">
Ill cover more about saving and copying the contents of a restricted site in later posts just watch out.
