chrome浏览器关闭标签页面

  chrome浏览器关闭标签页提示:Scripts may close only the windows that were opened by it.

  解决办法:通过open方法进行关闭。

open(location, '_self').close();

 

你可能感兴趣的:(chrome浏览器关闭标签页面)