nofxfan1188
01-16-2005, 07:18 AM
yeah, what is that code where you right click and a message comes up saying "no way" or something? oh, and does anyone have any Guttermouth Music codes off of thier CD "Eat Your Face"? thanks guys.
|
View Full Version : Right Click Prevention Code nofxfan1188 01-16-2005, 07:18 AM yeah, what is that code where you right click and a message comes up saying "no way" or something? oh, and does anyone have any Guttermouth Music codes off of thier CD "Eat Your Face"? thanks guys. tokyo bleu 01-16-2005, 08:31 AM <script language=JavaScript> <!-- //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message="YOUR MESSAGE HERE"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script> Website Stats. nofxfan1188 01-17-2005, 06:09 AM <script language=JavaScript> <!-- //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message="YOUR MESSAGE HERE"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script> Website Stats. yeah, didnt work.... any others? tokyo bleu 01-17-2005, 09:22 AM Did you put it in Custom Header? |