PHP Code:
//*****************************************************************************
// Text in the status bar
//**************************************************************************
window.status = 'My Site Name!';
//*****************************************************************************
// Disable SHIFT / CTRL + RIGHT MOUSE CLICK
//*****************************************************************************
function mouseDown(e) {
var shiftPressed=0;
var ctrlPressed=0;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Mozilla")
shiftPressed=(e.modifiers-0>3);
else shiftPressed=event.shiftKey;
if (navigator.appName=="Mozilla")
ctrlPressed=(e.modifiers-0>1);
else ctrlPressed=event.ctrlKey;
if (shiftPressed || ctrlPressed) {
alert ('Without Copies! Right Mouse Button Blocked!') // Display the message by pressing SHIFT or CTRL right-click
return false;
}
}
return true;
}
Simple, no? Do not forget to thank!
Goodnight and good studies!