use showModalDialog() to open the window

解决方案 »

  1.   

    1、 <body oncontextmenu="return false">
      

  2.   

    showModalDialog()方法默认屏蔽右键和ctrl+N
    使用方法:http://www.csdn.net/develop/Read_Article.asp?Id=15113
      

  3.   

    2、借花献佛:
    <script language=javascript>
    function document.onkeydown()
    {
      if ((event.ctrlKey)&&(event.keyCode==78))   //屏蔽 Ctrl+n
         event.returnValue=false;
    }
    </script>
      

  4.   

    对不起,用showModalDialog()打开的窗口满足不了我的功能。
      

  5.   

    非要屏蔽,可以参考一下
    http://expert.csdn.net/Expert/topic/1482/1482416.xml?temp=.7594721