And here is the 'no right clicks' script.
You can stop right clicks with a script (copy and paste it from this page if you want to) in the HEAD section of your page.
<script type="text/javascript">
var msg="mouse right click disabled.nn(or any message you want)";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(msg);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(msg);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
</script>
Please note: the above script does not work in PageWizard.
- 0 Benutzer fanden dies hilfreich