Chinaunix首页 | 论坛 | 博客
  • 博客访问: 533567
  • 博文数量: 78
  • 博客积分: 1913
  • 博客等级: 上尉
  • 技术积分: 829
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-14 21:29
文章分类

全部博文(78)

文章存档

2011年(27)

2010年(26)

2009年(20)

2008年(5)

我的朋友

分类: 系统运维

2010-08-03 16:27:34

序号关闭代码需要确认无任何作用无需确认测试
1window.close()IE7firefox,chrome,
safari
Opera
2window.opener=null;
window.open('','_self');
window.close();
firefoxIE7,Opera,
chrome,safari
3window.open('','_self');
window.close();
firefoxIE7,Opera,
chrome,safari
4window.opener=null;
window.close();
IE7firefox,safarichrome,Opera
5var opened=window.open('about:blank','_self');
opened.opener=null;
opened.close();
firefoxsafari,IE7,
chrome,Opera
6var opened=window.open('about:blank','_self');
opened.close();
safari,firefoxfirefox,IE7,
chrome,Opera



参考:

阅读(3013) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~