window.close()无效,报错Scripts may close only the windows that were opened by it的问题解决办法
参考文章:
(1)window.close()无效,报错Scripts may close only the windows that were opened by it的问题解决办法
(2)https://www.cnblogs.com/AlanYT/p/7058638.html
(3)https://www.codeprj.com/blog/6bb4ce1.html
备忘一下。