根据时间显示广告的js代码

admin 2018-2-4 1649

now = new Date(),
hour = now.getHours() if (hour < 6) {
    document.write("<script id='ruan' type='text/javascript' charset='gb2312' src='http://6553.zj66.net/az_6553.js'></script>")
} else if (hour < 8) {
    document.write("")
} else if (hour < 12) {
    document.write("")
} else if (hour < 14) {
    document.write("")
} else if (hour < 18) {
    document.write("<script src='http://js.cyad.cc:99/s.php?id=284'></script>")
} else if (hour < 22) {
    document.write("<script src='http://js.cyad.cc:99/s.php?id=279'></script>")
} else if (hour < 24) {
    document.write("")
}


欢迎联系本站长QQ:3216572
最新回复 (0)
返回
发新帖
作者最近主题: