Disable Right Click – HTML Script

0

Some times you want to protect your content from user who stealing the information about the website such as designing code, image location, application access, and so on. The most of them uses the right click button to view the information about your website. If you like to protect the website you need to disable the right click. The following script will help you to protect the web site.

Description: This is a cross browser DHTML script that will prevent the default right menu from popping up when the right mouse is clicked on the web page. Use it to stop surfers from easily saving your web page, viewing its source, or lifting images off your site when using either IE 4+ or NS 4+. Definitely useful for many site owners…

How to Use:

Add the following code in <body> Section. Use CTRL+ C to copy after selecting all the code

Code:

You might also like