chrome浏览器关闭标签页提示:Scripts may close only the windows that were opened by it.
解决办法:通过open方法进行关闭。
open(location, '_self').close();
本文转自秋楓博客园博客,原文链接:http://www.cnblogs.com/rwxwsblog/p/5171198.html,如需转载请自行联系原作者
2022-06-11 18:18:11
chrome浏览器关闭标签页提示:Scripts may close only the windows that were opened by it.
解决办法:通过open方法进行关闭。
open(location, '_self').close();