View Single Post
Old 08-18-2002, 01:40 PM  
uptowno
owner
 
Industry Role:
Join Date: Apr 2002
Location: dc
Posts: 165
can any body tell me what this code will do *cheater*

<script language="JavaScript">
// Source: CodeFoot.com
function blockError(){return true;}
window.onerror = blockError;
</script>
<script language=JavaScript>
<!--

var message="(c)2002-2004 SLIP Inc and OnProbation.com";
///////////////////////////////////
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.all)) {
if (e.which==2||e.which==3) {alert(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>
uptowno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook