<script>

 

var browserName=navigator.appName; 
if (browserName=="Netscape")

    
function closeme() 
    { 
        window.open(
'','_parent',''); 
        window.close();
    } 

else 

    
if (browserName=="Microsoft Internet Explorer"
    { 
        
function closynoshowsme() 
        { 
            window.opener 
= "whocares"
            window.close(); 
        } 
    } 

</script> 

<input type="button" value="close me 3" onclick="closeme();"/>

相关文章:

  • 2021-10-30
  • 2021-11-04
  • 2021-10-14
  • 2021-09-19
  • 2021-09-08
  • 2021-10-26
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-10-27
  • 2022-12-23
  • 2021-05-20
  • 2021-06-10
  • 2022-02-07
相关资源
相似解决方案