소스 검색

document.domain问题

11wqe1 6 달 전
부모
커밋
346012cc76
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>深教AI6</title>
     <script>
-      document.domain = "cocorobo.cn"
+          document.domain = document.domain.split(".").slice(-2).join(".");
     </script>
   </head>
   <body>