function yaunclick() { alert('Click droit désactivé'); } function noclick(scx) { if (navigator.appName == "Netscape" && scx.which == 3) { yaunclick(); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { yaunclick(); return false; } } document.onmousedown = noclick