不可能,可以用一个恶毒的办法:用window.open一个窗口,窗口大小很大超过屏幕,这样用户就没法点到XX了

解决方案 »

  1.   

    那还有alt+F4呢,一样的关,还有ctrl+W都能关,不行
    给微软发个Email,让他们帮改一下就好了
      

  2.   

    在WIN APP里内嵌网页即可。
      

  3.   

    用下面的代码,body的onunload事件里加个再打开本页面的代码,再怎么关都关不了,哈哈
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
    <head>
    <title> New Document </title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <meta name="Generator" content="EditPlus" />
    <meta name="Author" content="" />
    <meta name="Keywords" content="" />
    <meta name="Description" content="" />
    </head>

    <body onunload="window.open(location.href);">
    test
    </body>
    </html>
      

  4.   

    找到一个全屏的方法,下面就是解决alt+F4了
      

  5.   

    window.open("url", "_blank", "fullscreen=3,titlebar=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,edge:Raised,left=0,top=0,width=200,height=300,false);