NO RIGHT CLICKING
EXAMPLE
Click Anywhere inside this page, to view Example.

Disable your visitors ability to right click, when viewing your site.

#1 Way to help protect your site's source code, etc.

 » Highlight the code below, press CTRL + C to copy.

CODE (S)

============================================================
Script: Basic No-Right-Click Script
Functions: Blocks right-click on mouse and shows alert box
Browsers: NS & IE 4.0 & later; degrades gracefully
Author: etLux
============================================================

Put the following script in the head of your page:

<script language="Javascript1.2">

// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header

// Set the message for the alert box
am = "This function is disabled!";

// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

</script>

============================================================

MAIN
Hosted by www.Geocities.ws