Sometimes you want to protect your content from a user who copying the data about the website such as designing, code, images locations, addresses, application access, etc. Most of the users of the website use the right click button to display or viewing the information about your website. If you like or want to protect the website you must need to disable the right click. On your web pages, the following script will help you to protect the web site.
Explanation: This is a script that will secure or save the default right menu from others users when we clicked the right mouse button on web .must stop the use of this, because it can easily be done viewing its source, or taking images or contents off your site when using either IE 4+ or NS 4+. Very useful or helpful for many web site designer and owner.
For some low-level security, we disable a right click on our website. Because we work on our website, we use different tools, images and provide valuable contents, we must protect our source code from other visitors.
The above code can easily block the right click on our web page. This code is inline in our HTML code.
This code will also disable the right click of mouse, Ctrl + Shift + I, Ctrl+ Shift + J, Ctrl + S, Ctrl + U, and F12 key. The F12 key uses for viewing the source code of the page, so it also need be disabled. That’s the way we also need to disable this code.
When we work hard on our web site, we must want to protect our images contents code from other users.
When we disable right click on the web page. it is a warning for visitors that contents is copyrighted.
In such way, we can easily protect our source code from other visitors.
Disabling the right click annoying the user.
We can easily protect our important data and images.