域名随机跳转

<html>
<head>
    <script>
        var arr =
            "https://minglichengxin.com," +
            "https://tuanjieyouai.com," +
            "https://qinjianziqiang.com," +
            "https://jingyefengxian.com," +
            "https://aiguoshoufa.com," +
            "https://www.minglichengxin.com," +
            "https://www.tuanjieyouai.com," +
            "https://www.qinjianziqiang.com," +
            "https://www.jingyefengxian.com," +
            "https://www.aiguoshoufa.com";
 

        arr = arr.split(",");
        var rand = parseInt(Math.random() * arr.length);
        window.location.href = arr[rand];
        
    </script>
</head>
<body></body>
</html>

发表回复