New paste Repaste Download
function refresh() {
if (cd.wait > 0) return;
let img  = document.getElementById("captcha");
let r    = "mainpage";
let m    = location.pathname.match(/(\d+).html/);
if (m) r = `res${m[1]}`;
let now  = Math.floor(Date.now() / 1000);
let src  = `/captcha.pl?key=${r}&refresh=${now}`;
img.src  = src;
countdown(cd.default);
}
Filename: refresh.js. Size: 344b. View raw, , hex, or download this file.

This paste expires on 2026-06-30 04:51:23.899735+00:00. Pasted through web.