// Load jQuery async
(function() {
var s = document.createElement(‘script’);
s.src = ‘//code.jquery.com/jquery-3.3.1.min.js’;
s.async = true;
s.onload = function() {
initLinkRedirects();
};
document.head.appendChild(s);
})();
function getParameterByName(e) {
var a = window.location.href;
e = e.replace(/[[]]/g, “\$&”);
var n = new RegExp(“[?&]” + e + “(=([^&#]*)|&|#|$)”).exec(a);
return n ? n[2] ? decodeURIComponent(n[2].replace(/+/g, ” “)) : “” : null;
}
function initLinkRedirects() {
var patterns = [“”, “Play Now!”, “PART”];
$(“.post-body a”).each(function() {
var e = $(this).attr(“href”), o = $(this).text();
if (e && e.indexOf(“http”) > -1) {
for (var i = 0; i -1) {
$(this).attr(“href”, “https://www.zerogameth.com/p/glad-you-chose-us.html?linkto=” + btoa(e));
break;
}
}
}
});
var countdown = 7, linkto = getParameterByName(“linkto”);
if (linkto) {
linkto = atob(linkto);
var n = setInterval(function() {
if (countdown <= 0) { clearInterval(n); window.location.href = linkto; }
$("#clkto-couter").val(countdown);
countdown–;
}, 400);
}
}