View Single Post
Old 11-25-2004, 12:11 PM   #2 (permalink)
scott_p_1
Crazy
 
Pretty snazzy. You can find it out if you view the source though. (be careful, they added a tonne of white space at the top so it looks like you can't view the source either, you gotta scroll down). You'll eventually see this:

<!--
var copyright="Please respect the copyright of this material.";

function noRightClick(e) {
if (document.layers || document.getElementById && !document.all) {
if (e.which == 2 || e.which == 3) {
document.captureEvents(Event.MOUSEDOWN);
// alert(copyright);
return false;
}
} else if (document.all && !document.getElementById) {
if (event.button == 2) {
// alert(copyright);
return false;
}
}
}

function noContextMenu(e) {
return false;
}

function noClip(e) {
if(window.clipboardData) {
window.clipboardData.setData("Text", "");
}
}


document.onblur = noClip;
document.onmousedown = noRightClick;
document.oncontextmenu = noContextMenu;

// -->


They just used some javascript.

Last edited by scott_p_1; 11-25-2004 at 12:12 PM.. Reason: spelling mistake :P
scott_p_1 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54