日期:2014-05-16  浏览次数:20441 次

JS关闭浏览器标签

调用window.close函数几个,但是IE7,8下会弹出警告提示,用一下方法处理:

?

window.open('', '_self', '');

?

http://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi