http://lucky.myrice.com/Windows_Demo.htm

解决方案 »

  1.   

    showModalDialog("about:<"+"script>window.open('1.htm','','width=100,height=100');window.close()<"+"/script>",0,"dialogWidth:0px;dialogHeight:0px");
      

  2.   

    showModalDialog("about:<"+"script>window.open('1.htm','','width=100,height=100');window.close()<"+"/script>",0,"dialogWidth:0px;dialogHeight:0px");
    ----------------------------
    这句是WinXP Sp2下也过拦掉了
      

  3.   

    一般装了这个东西,想用window.open是很困难,用其他的也不方便
    我这里采用的方法是写个检查函数,如果发觉窗户弹不出来,那么就跟客户提示一下
    告诉他们如何去关掉上网助手:
    程序是看别人的思路改的,谢谢他人的帮助,呵呵function CehckWebWindow()
    {
      //Error Flag  0:successed 1:failed...
      var eF=0;  //the first test window to check
      var popWin = window.open("","ptest","width = 0,height = 0,left = 5000,top = 5000",true); 
        
      // the sencond test window to check
      var pW     = window.open("","ptest","width = 0,height = 0");  //check whether two window has the same handle. 
      eF = (pW == popWin) ? 0 : 1;  //close two window now...
      if (popWin != null){
        popWin.close();
        pW.close();}
      else{
        eF = 1;}  //if tP = 0 then the pop-up window is not available...
      if ( eF == 1 )
        return false;
      else  
        return true;
    }
      

  4.   

    或者:
    --------------------
    http://community.csdn.net/Expert/topicview.asp?id=3343605