Salve,
sto cercando uno script che disabilita il tasto destro del mouse. Gli scripot che ho trovato funzionano su Explorer ma non hanno effetto su Mozilla Firefox, versione 2.0.0.16

Come mai???
Avete uno script che funzioni?

Thxxxx



Codice PHP:
1))

function 
nrcIE(){
if (
document.all){return false;}}
function 
nrcNS(e){
if(
document.layers||(document.getElementById&&!document.all)){ 
if (
e.which==2||e.which==3){
return 
false;}}} 
if (
document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;
}else{
document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");


2))

function 
destro(e) {
if (
navigator.appName == 'Netscape' && 
(
e.which == || e.which == 2))
return 
false;
else if (
navigator.appName == 'Microsoft Internet Explorer' && 
(
event.button == || event.button == 3)) {
alert("Attenzione tasto destro disabilitato!!");
return 
false;
}
return 
true;
}
document.onmousedown=destro;
if (
document.layerswindow.captureEvents(Event.MOUSEDOWN);
window.onmousedown=destro