elmo + actiVe™ moderator
Number of posts : 118 Age : 38 Location : Pinas pride Registration date : 2007-11-18
| Subject: No right click script III (no alert) FF1+ IE5+ Sun Nov 18, 2007 9:48 pm | |
| Description: A "silent" version of the popular no right click script that doesn't' alert a message. To alert or not to alert that is the question. Simply add the following code to the <BODY> section of your web page . - Quote :
- <script language=JavaScript>
<!--
//Disable right click script III- By elmo + active ™
var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false") // --> </script> | |
|
emo:tan member
Number of posts : 120 Age : 30 Location : sa bakod ng aming kapit bahay :) Registration date : 2007-11-24
| Subject: Re: No right click script III (no alert) FF1+ IE5+ Sun Nov 25, 2007 9:58 am | |
| for what is dis?? right clickers on ur fs page?? | |
|