微件:倒计时/js:修订间差异

创建页面,内容为“<includeonly><script> document.addEventListener("DOMContentLoaded", function () { CountDownShort(); var i = window.setInterval(function () { if (new Date().getSeconds() == 0) { window.clearInterval(i); CountDownShort(); window.setInterval(CountDownShort, 60000); } }, 1000); }); function CountDownShort() { var a = document.getElementsByClassName("CDScontainer"); if (a.length == 0) { return; } var ct = new Date().getTim…”
 
无编辑摘要
第1行: 第1行:
<includeonly><script>
<includeonly><script>
document.addEventListener("DOMContentLoaded", function () {
window.addEventListener("load", function() {
   CountDownShort();
   CountDownShort();
   var i = window.setInterval(function () {
   var i = window.setInterval(function () {