View Full Version : xanga help


xXgAnGsTuHpNaXx
07-21-2003, 11:39 PM
duz ny wun kno how to disable the right clik on ur mouse so that no wun can save ur stuff?and if you do....how do you put a message so that wen they rite clik, a message appears that you put

lefty
07-21-2003, 11:58 PM
http://www.lissaexplains.com/javascript6.shtml

Sum1YouDontKno
07-21-2003, 11:58 PM
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message=""; YOUR 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.oncontext menu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>