JS关闭当前页面
<button onclick="ClosePage()">点击关闭网页</button> <script> function ClosePage() { open(location, '_self').close(); } </script>