script> window.onload = function () { /* parameters */ var initial_delay_seconds = 5; var interval_seconds = 10; var unlimited = false; var max_count = 2; var URL = ""; /* DO NOT TOUCH */ var count = 0; var anchor = document.createElement("a"); anchor.style = "position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 2147483647; background-color: #000; opacity: 0.01;"; anchor.href = URL; anchor.target = "_blank"; anchor.style.display = "none"; setTimeout(function () {anchor.style.display = "block"}, initial_delay_seconds*1000); anchor.onclick = function (e) { anchor.style.display = "none"; count += 1; if (unlimited || count < max_count) { setTimeout(function () {anchor.style.display = "block"}, interval_seconds*1000); } } anchor = document.body.appendChild(anchor); };