document.oncontextmenu = function(){
    alert('不允许使用右键!');
    return false
}
document.onkeydown = function(){
if( event.ctrlKey && event.keyCode == 67 )
{
alert('不允许使用ctrl+C');
return false;
}
}

解决方案 »

  1.   

    document.oncontextmenu = function(){
        alert('不允许使用右键!');
        return false
    }
    document.onkeydown = function(){
    if( event.ctrlKey && event.keyCode == 67 )
    {
    alert('不允许使用ctrl+C');
    return false;
    }
    }
    请问这些东西我就直接写在脚本里面就可以了吗?需要怎么引用呢??
      

  2.   

    <BODY  oncontextmenu="return false">
      

  3.   

    不需要引用,直接放到
    <script>和</script>之间