1 Disable Right Click Sat Jul 24, 2010 9:17 am
verrell123
Registered Member
This tutorial will help you disable right clicking on your web pages,
Disable Right Click Script
This script will disable right clicking on your web pages.
When this is added, your visitors can not right click on your web page.
This is like a silent version of disabling right clicking.
Pop Up Message After Right Click To Disable It
This
script will disable right clicking on your web pages, and everytime you
right click, a pop up message box will appear. Ofcourse, you can modify
the text that will be displayed in the pop up box.
Script :
Find this part in the script, and edit the bold part, to edit the text that will be displayed in the pop up box.
Disable Right Click Script
This script will disable right clicking on your web pages.
- Code:
<body oncontextmenu="return false"</body>
When this is added, your visitors can not right click on your web page.
This is like a silent version of disabling right clicking.
Pop Up Message After Right Click To Disable It
This
script will disable right clicking on your web pages, and everytime you
right click, a pop up message box will appear. Ofcourse, you can modify
the text that will be displayed in the pop up box.
Script :
- Code:
function Plan() {
alert('Text Here');
return(false);
}
document.oncontextmenu = iPlan;
Find this part in the script, and edit the bold part, to edit the text that will be displayed in the pop up box.
{ alert('Text Here');
See This Example Page
Example Page
Example Page
Last edited by ankillien on Wed Aug 04, 2010 4:59 pm; edited 2 times in total (Reason for editing : Add Example Page)