用*.HTA命名,然后在本地运行,<input onkeypress="if(event.keyCode == 13)createwin(800,500,this.value)" id=urlinput value="http://www.coo" style="width:100%;" title="id=urlinput;请在此输入网页地址;窗口ID=win">
<textarea style="width:100%;height:100%" wrap=off id=command title="id=command 弹出窗口ID=win 全局JS窗口:jsweb;在此输入命令后按右键运行" oncontextmenu='eval(this.value)'>jsweb.document.open();
jsweb.document.write(
                      '<script' + '>\n'               
                     +'var topwin = null;\n'
                     +'</script' + '>\n'
                     );
jsweb.topwin = window;
jsweb.document.write(js.value);
jsweb.document.close();
</textarea>
<textarea id=js style="width:100%;height:100%;" title="id=js">
<script>
function unload(){
      try{
          if(topwin.win.document.body.readyState == "complete"){  
           if(topwin.win.status == "qidizi")return false;      
           var wa = topwin.win.document.all;
           for(var i = 0; i < wa.length;i++){
             wa[i].style.display = "";
             wa[i].style.color = "black";
           }
           topwin.win.status = "qidizi";
          } 
      }catch(e){;}
}
setInterval("unload()",1000);</script>///取消所有的禁止alleventnull();
//用于解除西南之窗的播放器右键的禁止(先在支付影币的窗口按CTRL+I;然后放入弹出的TEXTAREA中,右键)
this.parentElement.style.top = 50;
document.links[0].outerHTML = document.links[0].outerHTML.replace("window.open","o = window.open");
//o.frames[0].location.href = o.frames[0].msplayer.SourceLink;;</textarea>
<script language ='javascript'>
<!--
var win = null;
function createwin(w,h,u){
        try{
            win.location.href = u;
        }catch(e){
           win = window.open("",'xwin','width=' + w + ',height=' + h + ',menubar=no,toolbar=no,location=yes,directories=no,status=yes,scrollbars=yes,resizable=yes');
           win.location.href = u;
         }
}function alleventnull(){
      win.window.onerror = null;
      win.document.oncontextmenu = null;
      win.document.onkeydown = null;
      win.document.ondragstart= null;
      win.document.onmousedown= null;
      win.window.onmousedown = null
      win.document.body.oncontextmenu = null;
      win.document.body.onkeydown = null;
      win.document.body.ondragstart= null;
      win.document.body.onmousedown= null;
}function forx(n)
{
 if(n == null) return false;
 js.value = "";
 for (var v in eval(n))
 {
     js.value += n + '.' + v + ' = ' + eval( n + '.' + v) + '\n';
 }
}
//-->
</script>