或者不让点击页面内容也可。 谢谢

解决方案 »

  1.   

    body
    {
    background:url('javascript: 
    document.oncontextmenu=new Function("event.returnValue=false;");
    document.onselectstart=new Function("event.returnValue=false;");
    ')}<script language="JavaScript">function click() {if (event.button==2) {alert("You're Welcome!"); }}document.onmousedown=click</script>
      

  2.   

    晕~~ 是winform。
    我用了webBrowser
    但是我不想让人点击这个webBrowser内的任何内容
    该怎么弄???
      

  3.   

    没有用过webBrowser,不知道它有没有这个属性,不过在webBrowser上面铺一个透明的lable或panel,反正是个透明的东西就行.